An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
◻️ Documentation
◻️ Telegram Bot
◻️ Generation results
◻️ StarRailCard
◻️ Additional module
◻️ Assets
pip install enkacard
from enkacard import encbanner
import asyncio
async def card():
async with encbanner.ENC(uid = "811455610") as encard:
return await encard.creat()
result = asyncio.run(card())
print(result)
Launch Profile
from enkacard import encbanner
import asyncio
async def card():
async with encbanner.ENC(uid = "811455610") as encard:
return await encard.profile(card = True)
result = asyncio.run(card())
print(result)
Update enkanetwork.py data
from enkacard import encbanner
import asyncio
async def main():
await encbanner.update()
result = asyncio.run(main())
print(result)
Aliternative method: Tools
Languege | Code | Languege | Code | Languege | Code |
---|---|---|---|---|---|
English | en | русский | ru | Chinese | chs |
Tiếng Việt | vi | ไทย | th | Taiwan | cht |
português | pt | 한국어 | kr | deutsch | de |
日本語 | jp | 中文 | zh | español | es |
中文 | zh | Indonesian | id | français | fr |
Khaenri'ah | kh | Khaenri'ah |