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

Баннер


БаннерБаннерБаннерБаннерБаннер


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:

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:

Sample 1 template

Adaptation

Without Adaptation

Sample 2 template

Adaptation

Sample 3 template

Adaptation

Sample 4 template

Without Adaptation MINI INFO

Without Adaptation FULL INFO

Adaptation MINI INFO

Sample 5 template

Adaptation

Without Adaptation

Sample 6 template

Adaptation

Without Adaptation

Display 1-4 characters

Sample 7 template

Adaptation

Without Adaptation


Profile sample 1 template

Profile

Profile sample 2 template

Profile

Thank the author for the code:

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

enkacard2-2.0.2.tar.gz (64.0 MB view hashes)

Uploaded Source

Built Distribution

enkacard2-2.0.2-py3-none-any.whl (64.3 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