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 details)

Uploaded Source

Built Distribution

enkacard2-2.0.2-py3-none-any.whl (64.3 MB view details)

Uploaded Python 3

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

Hashes for enkacard2-2.0.2.tar.gz
Algorithm Hash digest
SHA256 83e0f9f3b8933723a45fdf8c5f9639a058c71c9664a9ad5170627bcc0e1ff227
MD5 0ae3fddfef4467324a9b244110437ddd
BLAKE2b-256 12d1ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938

See more details on using hashes here.

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

Hashes for enkacard2-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0404e636db456138fb43177331903eb63002800cdeb4528ded6e5a733c107a76
MD5 bede8e76d867355be15b23a6d7daaf45
BLAKE2b-256 de68f9b9f627689553d82527bc8b45e299aff7bc09935af0f448e44341b99e0c

See more details on using hashes here.

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