An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
Project description
EnkaCard
An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
- 5 templates to choose from.
- 2 profile templates.
- Customization of all cards with background adaptation.
Full Documentation:
- Documentation EnkaCard
- API
- Little Kazuha - Discord Bot, which perfectly demonstrates the work of the module. Just use the
/profile
command
Installation:
pip install enkacard
Launch:
from enkacard import encbanner
import asyncio
async def card():
async with encbanner.ENC() as encard:
ENCpy = await encard.enc(uids = "811455610")
return await encard.creat(ENCpy,1)
result = asyncio.run(card())
print(result)
Languages Supported
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 |
Sample Results:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
enkacard-1.0.7.tar.gz
(53.4 MB
view hashes)
Built Distribution
enkacard-1.0.7-py3-none-any.whl
(53.7 MB
view hashes)