-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKG-INFO
90 lines (70 loc) · 2.87 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Metadata-Version: 2.1
Name: wuwaimagen
Version: 0.1.1
Summary: WuWaImaGen - is a Python module that allows you to generate images for projects based on the game Wuthering Waves
Home-page: https://github.com/Wuthery/WuWaConvene.py
License: MIT
Keywords: Wuthering,Waves,generation,WuWa,gacha,convene,card,api
Author: DeviantUa
Author-email: [email protected]
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Pillow
Requires-Dist: aiofiles
Requires-Dist: aiohttp
Requires-Dist: anyio
Requires-Dist: beautifulsoup4
Requires-Dist: cachetools
Requires-Dist: kuro.py
Requires-Dist: more-itertools
Requires-Dist: numpy
Requires-Dist: pydantic
Project-URL: Repository, https://github.com/Wuthery/WuWaConvene.py
Description-Content-Type: text/markdown
<p align="center">
<img src="https://raw.githubusercontent.com/Wuthery/WuWaConvene.py/main/ReadMeConfig/banner.png" alt="Баннер"/>
</p>
# WuWaImaGen.py
WuWaImaGen - is a Python module that allows you to generate images for projects based on the game Wuthering Waves
### Possibilities:
* Generate card Gacha
* Counting Gacha history
* Automatically receive a link to the journal
* Counting history
* Generating a calendar of events in the game
### Helpful information:
* [Documentation](https://github.com/Wuthery/WuWaImaGen.py/wiki/Documentation)
* [Discord](https://discord.gg/rKrbqz5utj)
### Install:
```
pip install wuwaimagen
```
### Launch:
```python
import asyncio
import wuwaimagen
'''
This example allows you to generate a gacha card and calculate your luck.
More examples here: https://github.com/Wuthery/WuWaImaGen.py/tree/main/Example
'''
client = wuwaimagen.ClientWuWa(assets=True)
async def main():
async with client:
data = await client.get_gacha_info("YOU_LINK", 1, lang= 'en', generator=True)
for key in data.data:
icon = await key.get_icon()
if key.typeRecord == 1:
print(f"==[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time} [{key.drop}]\nICON: {icon.icon}\nBANNER: {icon.banner}\n")
else:
print(f"[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time}[{key.drop}]\nICON: {icon.icon}\n")
print(f"Total Spin: {data.info.total_spin}\nAstrite: {data.info.astrite}\n==|Five Stars: {data.info.five_stars.resonator} | {data.info.five_stars.weapon}\n==|Four Stars: {data.info.four_stars.resonator} | {data.info.four_stars.weapon}\n==Three Stars: {data.info.three_stars.weapon}")
print(f"Card: {data.card}")
asyncio.run(main())
```
-------
> [!NOTE]
> The module is still under development, this is not the final version, so stay tuned for updates