enkacard2


Nameenkacard2 JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://github.com/DEViantUA/EnkaCard/tree/EnkaCard2
SummaryAn asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
upload_time2023-11-29 12:51:12
maintainer
docs_urlNone
authorNone
requires_python>=3.7,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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/Pcb834pHe3)[<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 EnkaCard2](https://github.com/DEViantUA/EnkaCard/tree/EnkaCard2) 
  - [ENCard](https://github.com/DEViantUA/ENCard) - Addon to the module.
  - [NewVerison](https://github.com/DEViantUA/EnkaCard/tree/main)

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

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

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

# Thank the author for the code: 
* **Patreon**: https://www.patreon.com/deviantapi

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DEViantUA/EnkaCard/tree/EnkaCard2",
    "name": "enkacard2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "None",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/12/d1/ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938/enkacard2-2.0.2.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n <img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/BannerCard.png?raw=true\" alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>\n</p>\n\n____\n<img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/Shablon_01.png?raw=true\" width = 38% alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>[<img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_02.png?raw=true\" width = 6% alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>](https://pypi.org/project/enkacard/)[<img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_03.png?raw=true\" width = 7% alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>](https://discord.gg/Pcb834pHe3)[<img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_04.png?raw=truee\" width = 7% alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>](https://github.com/DEViantUA/EnkaCard)[<img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_05.png?raw=true\" width = 6% alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>](https://enka.network/)\n____\n\n## EnkaCard \nAn 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>\n* 5 templates to choose from.<br>\n* 2 profile templates.<br>\n* Customization of all cards with background adaptation.\n\n## Full Documentation:\n  - [Documentation EnkaCard2](https://github.com/DEViantUA/EnkaCard/tree/EnkaCard2) \n  - [ENCard](https://github.com/DEViantUA/ENCard) - Addon to the module.\n  - [NewVerison](https://github.com/DEViantUA/EnkaCard/tree/main)\n\n## Installation:\n```\npip install enkacard\n```\n\n## Launch:\n``` python\nfrom enkacard2 import encbanner2\nimport asyncio\n\nasync def card():\n    async with encbanner2.ENC((uid = \"811455610\") as encard:\n        return await encard.creat(1)\n\nresult = asyncio.run(card()) \n\nprint(result)\n```\n<details>\n<summary>Launch Profile</summary>\n\n``` python\nfrom enkacard2 import encbanner2\nimport asyncio\n\nasync def card():\n    async with encbanner2.ENC(uid = \"811455610\") as encard:\n        return await encard.profile(1)\n\nresult = asyncio.run(card()) \n\nprint(result)\n```\n</details>\n\n## Languages Supported\n| Languege    |  Code   | Languege    |  Code   | Languege    |  Code   |\n|-------------|---------|-------------|---------|-------------|---------|\n|  English    |     en  |  \u0440\u0443\u0441\u0441\u043a\u0438\u0439    |     ru  |  Chinese    |    chs  |\n|  Ti\u1ebfng Vi\u1ec7t |     vi  |  \u0e44\u0e17\u0e22        |     th  | Taiwan     |    cht  |\n|  portugu\u00eas  |     pt  | \ud55c\uad6d\uc5b4      |     kr  | deutsch    |     de  |\n|  \u65e5\u672c\u8a9e      |     jp  | \u4e2d\u6587        |     zh  | espa\u00f1ol    |     es  |\n|  \u4e2d\u6587        |     zh  | Indonesian |     id  | fran\u00e7ais   |     fr  |\n\n\n## Sample Results:\n<details>\n<summary>Sample 1 template</summary>\n \n[![Adaptation][1]][1]\n \n[1]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/7.png?raw=true\n\n[![Without Adaptation][2]][2]\n \n[2]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/6.png?raw=true\n</details>\n\n\n<details>\n<summary>Sample 2 template</summary>\n \n[![Adaptation][3]][3]\n \n[3]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/4.png?raw=true\n  \n</details>\n\n\n<details>\n<summary>Sample 3 template</summary>\n \n[![Adaptation][4]][4]\n \n[4]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/5.png?raw=true\n \n</details>\n\n<details>\n<summary>Sample 4 template</summary>\n \n[![Without Adaptation MINI INFO][5]][5]\n \n[5]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/1.png?raw=true\n \n[![Without Adaptation FULL INFO][6]][6]\n \n[6]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/2.png?raw=true\n \n[![Adaptation MINI INFO][7]][7]\n \n[7]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/3.png?raw=true\n \n</details>\n\n<details>\n<summary>Sample 5 template</summary>\n \n[![Adaptation][8]][8]\n \n[8]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/10.png?raw=true\n\n[![Without Adaptation][9]][9]\n \n[9]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/9.png?raw=true\n</details>\n\n<details>\n<summary>Sample 6 template</summary>\n \n[![Adaptation][11]][11]\n \n[11]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/12.png?raw=true\n\n[![Without Adaptation][10]][10]\n \n[10]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/13.png?raw=true\n \n [![Display 1-4 characters][12]][12]\n \n[12]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/14.png?raw=true\n</details>\n\n<details>\n<summary>Sample 7 template</summary>\n \n[![Adaptation][13]][13]\n \n[13]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/15.png?raw=true\n\n[![Without Adaptation][14]][14]\n \n[14]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/16.png?raw=true\n</details>\n\n---\n\n<details>\n<summary>Profile sample 1 template</summary>\n \n[![Profile][15]][15]\n \n[15]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/8.png?raw=true\n\n</details>\n\n<details>\n<summary>Profile sample 2 template</summary>\n \n[![Profile][16]][16]\n \n[16]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/11.png?raw=true\n\n</details>\n\n# Thank the author for the code: \n* **Patreon**: https://www.patreon.com/deviantapi\n",
    "bugtrack_url": null,
    "license": "",
    "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.",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/DEViantUA/EnkaCard/tree/EnkaCard2",
        "Repository": "https://github.com/DEViantUA/EnkaCard/tree/EnkaCard2"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de68f9b9f627689553d82527bc8b45e299aff7bc09935af0f448e44341b99e0c",
                "md5": "bede8e76d867355be15b23a6d7daaf45",
                "sha256": "0404e636db456138fb43177331903eb63002800cdeb4528ded6e5a733c107a76"
            },
            "downloads": -1,
            "filename": "enkacard2-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bede8e76d867355be15b23a6d7daaf45",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 64331082,
            "upload_time": "2023-11-29T12:49:10",
            "upload_time_iso_8601": "2023-11-29T12:49:10.976524Z",
            "url": "https://files.pythonhosted.org/packages/de/68/f9b9f627689553d82527bc8b45e299aff7bc09935af0f448e44341b99e0c/enkacard2-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12d1ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938",
                "md5": "0ae3fddfef4467324a9b244110437ddd",
                "sha256": "83e0f9f3b8933723a45fdf8c5f9639a058c71c9664a9ad5170627bcc0e1ff227"
            },
            "downloads": -1,
            "filename": "enkacard2-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0ae3fddfef4467324a9b244110437ddd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 64033817,
            "upload_time": "2023-11-29T12:51:12",
            "upload_time_iso_8601": "2023-11-29T12:51:12.530035Z",
            "url": "https://files.pythonhosted.org/packages/12/d1/ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938/enkacard2-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-29 12:51:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DEViantUA",
    "github_project": "EnkaCard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "enkacard2"
}
        
Elapsed time: 0.15351s