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.
:white_medium_square: Documentation
:white_medium_square: Telegram Bot
:white_medium_square: Generation results
:white_medium_square: StarRailCard
:white_medium_square: Additional module
:white_medium_square: Assets
Installation:
pip install enkacard
Launch:
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
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 |
| Khaenri'ah | kh | Khaenri'ah |
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enkacard-3.3.9.tar.gz.
File metadata
- Download URL: enkacard-3.3.9.tar.gz
- Upload date:
- Size: 5.8 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 |
9e84d63a1f985866ad6ac9123ef6849ad3b7d9447cfd39ad45d2849c38794ec6
|
|
| MD5 |
3327d71a726baeb88bb9b524d527aadd
|
|
| BLAKE2b-256 |
cb2c27bc945e78c08479e3f748d39220591370490cf1acb2622640adc7f66303
|
File details
Details for the file enkacard-3.3.9-py3-none-any.whl.
File metadata
- Download URL: enkacard-3.3.9-py3-none-any.whl
- Upload date:
- Size: 5.6 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 |
dd443e9a6068b677cf33e41ea6eb8997775d4c1ac3e1adcf50196aac51661cf7
|
|
| MD5 |
c6586129d8e5039addd7e1ebdacd1080
|
|
| BLAKE2b-256 |
7ac60243637de81c88ed82f4646bf533b5d39aa6723eb26c61d5c522288c21bc
|