Metadata-Version: 2.1
Name: genshinpyrail
Version: 0.0.3
Summary: A module that allows you to create cards for your projects based on the games Honkai Star Rail and Genshin Impact
Author: Deviant
Author-email: deviantapi@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Pillow (>=10.0.1,<11.0.0)
Requires-Dist: cachetools (>=5.2.0,<6.0.0)
Requires-Dist: genshin (>=1.6.2,<2.0.0)
Requires-Dist: pydantic (==1.10.13)
Description-Content-Type: text/markdown

# GenshinPyRail
A module that allows you to create cards for your projects based on the games Honkai Star Rail and Genshin Impact

### Install:
```
pip install genshinpyrail
```

### Usage example:
``` python
from genshinpyrail import genshinpyrail
import asyncio

cookie = {"ltuid_v2": YOU_ltuid_v2, "ltoken_v2": "YOU_ltoken_v2", "ltmid_v2": "YOU_ltmid_v2"}
module = genshinpyrail.GenPyRail(cookie, "en")

async def main():
    client = await module.set_by_uid(700649319)
    print(client.game)
    print(client.uid)
    print(client.hoyolab_id)
    help = await client.get_ascension(character_id= 1306)
    help.card.show()


asyncio.run(main())
```

> [!WARNING]
> The module is still in development and beta testing, there is no normal documentation, so if you want to find out what this module can do, open this file: [HELP](https://github.com/DEViantUA/GenshinPyRail/blob/main/genshinpyrail/src/data/help.json) Well, or open the code: [genshinpyrail.py](https://github.com/DEViantUA/GenshinPyRail/blob/main/genshinpyrail/genshinpyrail.py)

