wuwaconvene


Namewuwaconvene JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Wuthery/WuWaConvene.py
SummaryWuWaConvene - A module for Python that allows you to get the gacha history from the game Wuthering Waves, also calculate the guarantors and generate an information card.
upload_time2024-06-05 17:30:43
maintainerNone
docs_urlNone
authorDeviantUa
requires_python>=3.9
licenseMIT
keywords wuthering waves generation wuwa gacha convene card api
VCS
bugtrack_url
requirements aiofiles aiohttp cachetools numpy Pillow pydantic beautifulsoup4 anyio
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
 <img src="https://raw.githubusercontent.com/Wuthery/WuWaConvene.py/main/ReadMeConfig/Banner.png" alt="Баннер"/>
</p>

# WuWaConvene.py
WuWaConvene - A module for Python that allows you to get the gacha history from the game Wuthering Waves, also calculate the guarantors and generate an information card


### Possibilities:

* Get banner history
* Generate card
* Automatically receive a link to the journal
* Counting history

### Helpful information:
* [F.A.Q.](https://github.com/Wuthery/WuWaConvene.py/wiki/Documentation)
* [Discord](https://discord.gg/rKrbqz5utj)

### Install:

```
pip install wuwaconvene
```

### Launch:

```python
import asyncio
import wuwaconvene

async def main():    
    async with wuwaconvene.Convene(link = "YOU_LINK") as convenes:
        data = await convenes.get(1, lang= 'en', generator=True)
        
        data = await convenes.calculator(data)
        for key in data.data:
            icon = await key.get_icon()
            if key.typeRecord == 1:
                print(f"==[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time} [{key.drop}]\nICON: {icon.icon}\nBANNER: {icon.banner}\n")
            else:
                print(f"[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time}[{key.drop}]\nICON: {icon.icon}\n")
        
        print(f"Total Spin: {data.info.total_spin}\nAstrite: {data.info.astrite}\n==|Five Stars: {data.info.five_stars.resonator} | {data.info.five_stars.weapon}\n==|Four Stars: {data.info.four_stars.resonator} | {data.info.four_stars.weapon}\n==Three Stars: {data.info.three_stars.weapon}")

                
asyncio.run(main())

```


-------
> [!NOTE]  
> The module is still under development, this is not the final version, so stay tuned for updates
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Wuthery/WuWaConvene.py",
    "name": "wuwaconvene",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Wuthering, Waves, generation, WuWa, gacha, convene, card, api",
    "author": "DeviantUa",
    "author_email": "deviantapi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/53/56/7404cd1501803f30e48f4af3d5dfe9491e50c6a65d89ecc71a85fb9ae2f6/wuwaconvene-0.1.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/Wuthery/WuWaConvene.py/main/ReadMeConfig/Banner.png\" alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>\n</p>\n\n# WuWaConvene.py\nWuWaConvene - A module for Python that allows you to get the gacha history from the game Wuthering Waves, also calculate the guarantors and generate an information card\n\n\n### Possibilities:\n\n* Get banner history\n* Generate card\n* Automatically receive a link to the journal\n* Counting history\n\n### Helpful information:\n* [F.A.Q.](https://github.com/Wuthery/WuWaConvene.py/wiki/Documentation)\n* [Discord](https://discord.gg/rKrbqz5utj)\n\n### Install:\n\n```\npip install wuwaconvene\n```\n\n### Launch:\n\n```python\nimport asyncio\nimport wuwaconvene\n\nasync def main():    \n    async with wuwaconvene.Convene(link = \"YOU_LINK\") as convenes:\n        data = await convenes.get(1, lang= 'en', generator=True)\n        \n        data = await convenes.calculator(data)\n        for key in data.data:\n            icon = await key.get_icon()\n            if key.typeRecord == 1:\n                print(f\"==[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time} [{key.drop}]\\nICON: {icon.icon}\\nBANNER: {icon.banner}\\n\")\n            else:\n                print(f\"[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time}[{key.drop}]\\nICON: {icon.icon}\\n\")\n        \n        print(f\"Total Spin: {data.info.total_spin}\\nAstrite: {data.info.astrite}\\n==|Five Stars: {data.info.five_stars.resonator} | {data.info.five_stars.weapon}\\n==|Four Stars: {data.info.four_stars.resonator} | {data.info.four_stars.weapon}\\n==Three Stars: {data.info.three_stars.weapon}\")\n\n                \nasyncio.run(main())\n\n```\n\n\n-------\n> [!NOTE]  \n> The module is still under development, this is not the final version, so stay tuned for updates",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "WuWaConvene - A module for Python that allows you to get the gacha history from the game Wuthering Waves, also calculate the guarantors and generate an information card.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Wuthery/WuWaConvene.py",
        "Repository": "https://github.com/Wuthery/WuWaConvene.py"
    },
    "split_keywords": [
        "wuthering",
        " waves",
        " generation",
        " wuwa",
        " gacha",
        " convene",
        " card",
        " api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c67778281c653b66324415a0e150d593fe1cadc4f23b5593fb84ddff3065636",
                "md5": "0e05f0c6f481d8868bb1abaeb84aefee",
                "sha256": "6838169c95dc1d43cb911e92ec4a3d1b9c0b2d548129c37a5c5894c129505a4f"
            },
            "downloads": -1,
            "filename": "wuwaconvene-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0e05f0c6f481d8868bb1abaeb84aefee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2459274,
            "upload_time": "2024-06-05T17:30:36",
            "upload_time_iso_8601": "2024-06-05T17:30:36.456206Z",
            "url": "https://files.pythonhosted.org/packages/6c/67/778281c653b66324415a0e150d593fe1cadc4f23b5593fb84ddff3065636/wuwaconvene-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "53567404cd1501803f30e48f4af3d5dfe9491e50c6a65d89ecc71a85fb9ae2f6",
                "md5": "46d3ccaa7889143126e18efbed707dfe",
                "sha256": "ac240a0d9153294b057152fd4325b14ab6026b9ede4c57d381de68700a3b7306"
            },
            "downloads": -1,
            "filename": "wuwaconvene-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "46d3ccaa7889143126e18efbed707dfe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2452201,
            "upload_time": "2024-06-05T17:30:43",
            "upload_time_iso_8601": "2024-06-05T17:30:43.598869Z",
            "url": "https://files.pythonhosted.org/packages/53/56/7404cd1501803f30e48f4af3d5dfe9491e50c6a65d89ecc71a85fb9ae2f6/wuwaconvene-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-05 17:30:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Wuthery",
    "github_project": "WuWaConvene.py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "aiofiles",
            "specs": []
        },
        {
            "name": "aiohttp",
            "specs": []
        },
        {
            "name": "cachetools",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "Pillow",
            "specs": []
        },
        {
            "name": "pydantic",
            "specs": []
        },
        {
            "name": "beautifulsoup4",
            "specs": []
        },
        {
            "name": "anyio",
            "specs": []
        }
    ],
    "lcname": "wuwaconvene"
}
        
Elapsed time: 1.13034s