/EnkaCard

Python module for generating Enka.Network cards

Primary LanguagePython

Баннер


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


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 enkacard import encbanner
import asyncio

async def card():
    async with encbanner.ENC() as encard:
        ENCpy = await encard.enc(uids = "811455610")
        return await encard.creat(ENCpy,1)

result = asyncio.run(card()) 

print(result)
Launch Profile
from enkacard import encbanner
import asyncio

async def card():
    async with encbanner.ENC() as encard:
        ENCpy = await encard.enc(uids = "811455610")
        return await encard.profile(ENCpy,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