Skip to main content

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

Баннер


Изображение 1 Изображение 2 Изображение 3 Изображение 4 Изображение 5 Изображение 6 Изображение 6


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


Download files

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

Source Distribution

enkacard-3.3.8.tar.gz (5.6 MB view hashes)

Uploaded Source

Built Distribution

enkacard-3.3.8-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