animeworld


Nameanimeworld JSON
Version 1.6.7 PyPI version JSON
download
home_pageNone
SummaryAnimeWorld UNOFFICIAL API
upload_time2025-03-19 21:31:49
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License Copyright (c) 2021 Krónos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords anime animeworld animeworld-api api
VCS
bugtrack_url
requirements httpx httpx youtube_dl beautifulsoup4
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![AnimeWorld](https://github.com/MainKronos/AnimeWorld-API/blob/master/docs/static/img/AnimeWorld-API.png)](https://mainkronos.github.io/AnimeWorld-API/)
# AnimeWorld-API

[![Version](https://img.shields.io/pypi/v/animeworld)](https://github.com/MainKronos/AnimeWorld-API/releases/latest)
![Activity](https://img.shields.io/github/commit-activity/w/MainKronos/AnimeWorld-API) 
[![Publish to PyPI](https://github.com/MainKronos/AnimeWorld-API/workflows/Publish%20to%20PyPI/badge.svg)](https://pypi.org/project/animeworld/)
[![Deploy MkDocs](https://github.com/MainKronos/AnimeWorld-API/actions/workflows/deploy-mkdocs.yml/badge.svg)](https://github.com/MainKronos/AnimeWorld-API/actions/workflows/deploy-mkdocs.yml)

![PyPI - Downloads](https://img.shields.io/pypi/dm/animeworld)
![PyPI - Downloads](https://img.shields.io/pypi/dw/animeworld)
![PyPI - Downloads](https://img.shields.io/pypi/dd/animeworld)

[![Static Badge](https://img.shields.io/badge/lang-english-%239FA8DA)](https://github.com/MainKronos/AnimeWorld-API/blob/master/README.md)
[![Static Badge](https://img.shields.io/badge/lang-italian-%239FA8DA)](https://github.com/MainKronos/AnimeWorld-API/blob/master/README.it.md)


AnimeWorld-API is an unofficial library for [AnimeWorld](https://www.animeworld.ac/) (Italian anime site).

## Installation
This library requires [Python 3.7](https://www.python.org/) or later.

You can install the library using pip:
```shell script
pip install animeworld
```

## Usage
To search for an anime by name on the AnimeWorld site, you can use the `find()` function.
```python
import animeworld as aw

res = aw.find("No game no life")
print(res)
```
The function will return a dictionary with the anime name as the key and the link to the anime world page as the value.
```python
{'name': 'No Game no Life', 'link': 'https://www.animeworld.ac/play/no-game-no-life.IJUH1E', ...}
```
You can also download episodes of an anime.
```python
import animeworld as aw

anime = aw.Anime(link="https://www.animeworld.ac/play/danmachi-3.Ydt8-")
for episode in anime.getEpisodes():
    print("Episode Number: ", episode.number)
        
    if(episode.download()):
        print("Downloaded")
    else:
        print("Error")

    if episode.number == '1': break
```
```
Episode Number: 1
Downloaded
```

## Documentation

The complete documentation is available here: [Documentation](https://mainkronos.github.io/AnimeWorld-API/)

For an overview of all the basics, go to the [QuickStart](https://mainkronos.github.io/AnimeWorld-API/usage/quickstart) section.

For more advanced topics, see the [Advanced Usage](https://mainkronos.github.io/AnimeWorld-API/usage/advanced) section.

The [API Reference](https://mainkronos.github.io/AnimeWorld-API/api-reference/developer-interface) section provides a complete API reference.

If you want to contribute to the project, visit the [Contributing](https://mainkronos.github.io/AnimeWorld-API/community/contributing) section.

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=MainKronos/AnimeWorld-API&type=Date)](https://star-history.com/#MainKronos/AnimeWorld-API&Date)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "animeworld",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "anime, animeworld, animeworld-api, api",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/fd/e0/029c1dba3e4a5a9cad948776e7569da2b133e473d8099c47269ab3cb4ded/animeworld-1.6.7.tar.gz",
    "platform": null,
    "description": "[![AnimeWorld](https://github.com/MainKronos/AnimeWorld-API/blob/master/docs/static/img/AnimeWorld-API.png)](https://mainkronos.github.io/AnimeWorld-API/)\n# AnimeWorld-API\n\n[![Version](https://img.shields.io/pypi/v/animeworld)](https://github.com/MainKronos/AnimeWorld-API/releases/latest)\n![Activity](https://img.shields.io/github/commit-activity/w/MainKronos/AnimeWorld-API) \n[![Publish to PyPI](https://github.com/MainKronos/AnimeWorld-API/workflows/Publish%20to%20PyPI/badge.svg)](https://pypi.org/project/animeworld/)\n[![Deploy MkDocs](https://github.com/MainKronos/AnimeWorld-API/actions/workflows/deploy-mkdocs.yml/badge.svg)](https://github.com/MainKronos/AnimeWorld-API/actions/workflows/deploy-mkdocs.yml)\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/animeworld)\n![PyPI - Downloads](https://img.shields.io/pypi/dw/animeworld)\n![PyPI - Downloads](https://img.shields.io/pypi/dd/animeworld)\n\n[![Static Badge](https://img.shields.io/badge/lang-english-%239FA8DA)](https://github.com/MainKronos/AnimeWorld-API/blob/master/README.md)\n[![Static Badge](https://img.shields.io/badge/lang-italian-%239FA8DA)](https://github.com/MainKronos/AnimeWorld-API/blob/master/README.it.md)\n\n\nAnimeWorld-API is an unofficial library for [AnimeWorld](https://www.animeworld.ac/) (Italian anime site).\n\n## Installation\nThis library requires [Python 3.7](https://www.python.org/) or later.\n\nYou can install the library using pip:\n```shell script\npip install animeworld\n```\n\n## Usage\nTo search for an anime by name on the AnimeWorld site, you can use the `find()` function.\n```python\nimport animeworld as aw\n\nres = aw.find(\"No game no life\")\nprint(res)\n```\nThe function will return a dictionary with the anime name as the key and the link to the anime world page as the value.\n```python\n{'name': 'No Game no Life', 'link': 'https://www.animeworld.ac/play/no-game-no-life.IJUH1E', ...}\n```\nYou can also download episodes of an anime.\n```python\nimport animeworld as aw\n\nanime = aw.Anime(link=\"https://www.animeworld.ac/play/danmachi-3.Ydt8-\")\nfor episode in anime.getEpisodes():\n    print(\"Episode Number: \", episode.number)\n        \n    if(episode.download()):\n        print(\"Downloaded\")\n    else:\n        print(\"Error\")\n\n    if episode.number == '1': break\n```\n```\nEpisode Number: 1\nDownloaded\n```\n\n## Documentation\n\nThe complete documentation is available here: [Documentation](https://mainkronos.github.io/AnimeWorld-API/)\n\nFor an overview of all the basics, go to the [QuickStart](https://mainkronos.github.io/AnimeWorld-API/usage/quickstart) section.\n\nFor more advanced topics, see the [Advanced Usage](https://mainkronos.github.io/AnimeWorld-API/usage/advanced) section.\n\nThe [API Reference](https://mainkronos.github.io/AnimeWorld-API/api-reference/developer-interface) section provides a complete API reference.\n\nIf you want to contribute to the project, visit the [Contributing](https://mainkronos.github.io/AnimeWorld-API/community/contributing) section.\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=MainKronos/AnimeWorld-API&type=Date)](https://star-history.com/#MainKronos/AnimeWorld-API&Date)\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2021 Kr\u00f3nos\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.\n        ",
    "summary": "AnimeWorld UNOFFICIAL API",
    "version": "1.6.7",
    "project_urls": {
        "Documentation": "https://mainkronos.github.io/AnimeWorld-API/",
        "Homepage": "https://mainkronos.github.io/AnimeWorld-API/",
        "Issues": "https://github.com/MainKronos/AnimeWorld-API/issues",
        "Repository": "https://github.com/MainKronos/AnimeWorld-API.git"
    },
    "split_keywords": [
        "anime",
        " animeworld",
        " animeworld-api",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f3d74ee2c5be5fc0713c863777aaf45e1160048884c218daa7ff5439bbb3da3b",
                "md5": "e77d4fd8968670b2e844f604b4fc959e",
                "sha256": "208c6275dd49c991bdb76d1938eb167c5c0bba8d2ba35d3c63b3fb8ae52f47be"
            },
            "downloads": -1,
            "filename": "animeworld-1.6.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e77d4fd8968670b2e844f604b4fc959e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 19404,
            "upload_time": "2025-03-19T21:31:48",
            "upload_time_iso_8601": "2025-03-19T21:31:48.137187Z",
            "url": "https://files.pythonhosted.org/packages/f3/d7/4ee2c5be5fc0713c863777aaf45e1160048884c218daa7ff5439bbb3da3b/animeworld-1.6.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fde0029c1dba3e4a5a9cad948776e7569da2b133e473d8099c47269ab3cb4ded",
                "md5": "2a01f5b2c461e7977f1278c4c72ce649",
                "sha256": "3a2698c74844ad52665f7c4f5b9a119f2b91547d6fcd9cd9bea5c44456f77aad"
            },
            "downloads": -1,
            "filename": "animeworld-1.6.7.tar.gz",
            "has_sig": false,
            "md5_digest": "2a01f5b2c461e7977f1278c4c72ce649",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 16474,
            "upload_time": "2025-03-19T21:31:49",
            "upload_time_iso_8601": "2025-03-19T21:31:49.404896Z",
            "url": "https://files.pythonhosted.org/packages/fd/e0/029c1dba3e4a5a9cad948776e7569da2b133e473d8099c47269ab3cb4ded/animeworld-1.6.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-03-19 21:31:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MainKronos",
    "github_project": "AnimeWorld-API",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "httpx",
            "specs": []
        },
        {
            "name": "httpx",
            "specs": []
        },
        {
            "name": "youtube_dl",
            "specs": []
        },
        {
            "name": "beautifulsoup4",
            "specs": []
        }
    ],
    "lcname": "animeworld"
}
        
Elapsed time: 0.75604s