Metadata-Version: 2.1
Name: enkacard
Version: 1.1.7
Summary: An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
Home-page: https://github.com/DEViantUA/EnkaNetworkCard/wiki/Dokumentation-enkanetworkcard
Author: None
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Pillow (>=9.4.0,<10.0.0)
Requires-Dist: asyncache (>=0.3.1,<0.4.0)
Requires-Dist: cachetools (>=5.2.0,<6.0.0)
Requires-Dist: enkanetwork.py (>=1.4.2,<2.0.0)
Requires-Dist: numpy (>=1.24.2,<2.0.0)
Project-URL: Repository, https://github.com/DEViantUA/Enka.GenerationBanner
Description-Content-Type: text/markdown

<p align="center">
 <img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/BannerCard.png?raw=true" alt="Баннер"/>
</p>

____
<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/Shablon_01.png?raw=true" width = 38% alt="Баннер"/>[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_02.png?raw=true" width = 6% alt="Баннер"/>](https://pypi.org/project/enkacard/)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_03.png?raw=true" width = 7% alt="Баннер"/>](https://discord.gg/shRUCDt4)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_04.png?raw=truee" width = 7% alt="Баннер"/>](https://github.com/DEViantUA/EnkaCard)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_05.png?raw=true" width = 6% alt="Баннер"/>](https://enka.network/)
____

## 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. <br><br>
* 5 templates to choose from.<br>
* 2 profile templates.<br>
* Customization of all cards with background adaptation.

## Full Documentation:
  - [Documentation EnkaCard](https://deviantua.github.io/EnkaCard-Documentation/) 
  - [API](https://deviantua.github.io/EnkaCard-Documentation/async/Other/api/)
  - [Little Kazuha](https://discord.gg/TwuBfDbE) - Discord Bot, which perfectly demonstrates the work of the module. Just use the ```/profile``` command

## Installation:
```
pip install enkacard
```

## Launch:
``` python
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)
```
<details>
<summary>Launch Profile</summary>

``` python
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)
```
</details>

## 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:
<details>
<summary>Sample 1 template</summary>
 
[![Adaptation][1]][1]
 
[1]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/7.png?raw=true

[![Without Adaptation][2]][2]
 
[2]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/6.png?raw=true
</details>


<details>
<summary>Sample 2 template</summary>
 
[![Adaptation][3]][3]
 
[3]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/4.png?raw=true
  
</details>


<details>
<summary>Sample 3 template</summary>
 
[![Adaptation][4]][4]
 
[4]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/5.png?raw=true
 
</details>

<details>
<summary>Sample 4 template</summary>
 
[![Without Adaptation MINI INFO][5]][5]
 
[5]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/1.png?raw=true
 
[![Without Adaptation FULL INFO][6]][6]
 
[6]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/2.png?raw=true
 
[![Adaptation MINI INFO][7]][7]
 
[7]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/3.png?raw=true
 
</details>

<details>
<summary>Sample 5 template</summary>
 
[![Adaptation][8]][8]
 
[8]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/10.png?raw=true

[![Without Adaptation][9]][9]
 
[9]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/9.png?raw=true
</details>

<details>
<summary>Sample 6 template</summary>
 
[![Adaptation][11]][11]
 
[11]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/12.png?raw=true

[![Without Adaptation][10]][10]
 
[10]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/13.png?raw=true
 
 [![Display 1-4 characters][12]][12]
 
[12]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/14.png?raw=true
</details>

<details>
<summary>Sample 7 template</summary>
 
[![Adaptation][13]][13]
 
[13]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/15.png?raw=true

[![Without Adaptation][14]][14]
 
[14]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/16.png?raw=true
</details>

---

<details>
<summary>Profile sample 1 template</summary>
 
[![Profile][15]][15]
 
[15]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/8.png?raw=true

</details>

<details>
<summary>Profile sample 2 template</summary>
 
[![Profile][16]][16]
 
[16]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/11.png?raw=true

</details>

