Skip to main content

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

Project description

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:

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 Well, or open the code: genshinpyrail.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genshinpyrail-0.0.4.tar.gz (5.6 MB view hashes)

Uploaded Source

Built Distribution

genshinpyrail-0.0.4-py3-none-any.whl (5.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page