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 EnkaCard2
- ENCard - Addon to the module.
- NewVerison
Installation:
pip install enkacard
Launch:
from enkacard2 import encbanner2
import asyncio
async def card():
async with encbanner2.ENC((uid = "811455610") as encard:
return await encard.creat(1)
result = asyncio.run(card())
print(result)
Launch Profile
from enkacard2 import encbanner2
import asyncio
async def card():
async with encbanner2.ENC(uid = "811455610") as encard:
return await encard.profile(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:
Thank the author for the code:
- Patreon: https://www.patreon.com/deviantapi
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
enkacard2-2.0.2.tar.gz
(64.0 MB
view details)
Built Distribution
enkacard2-2.0.2-py3-none-any.whl
(64.3 MB
view details)
File details
Details for the file enkacard2-2.0.2.tar.gz
.
File metadata
- Download URL: enkacard2-2.0.2.tar.gz
- Upload date:
- Size: 64.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e0f9f3b8933723a45fdf8c5f9639a058c71c9664a9ad5170627bcc0e1ff227 |
|
MD5 | 0ae3fddfef4467324a9b244110437ddd |
|
BLAKE2b-256 | 12d1ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938 |
File details
Details for the file enkacard2-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: enkacard2-2.0.2-py3-none-any.whl
- Upload date:
- Size: 64.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0404e636db456138fb43177331903eb63002800cdeb4528ded6e5a733c107a76 |
|
MD5 | bede8e76d867355be15b23a6d7daaf45 |
|
BLAKE2b-256 | de68f9b9f627689553d82527bc8b45e299aff7bc09935af0f448e44341b99e0c |