Skip to content

MainKronos/AnimeWorld-API

Repository files navigation

AnimeWorld

AnimeWorld-API

Version Activity Publish to PyPI Deploy MkDocs

PyPI - Downloads PyPI - Downloads PyPI - Downloads

Static Badge Static Badge

AnimeWorld-API is an unofficial library for AnimeWorld (Italian anime site).

Installation

This library requires Python 3.7 or later.

You can install the library using pip:

pip install animeworld

Usage

To search for an anime by name on the AnimeWorld site, you can use the find() function.

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.

{'name': 'No Game no Life', 'link': 'https://www.animeworld.so/play/no-game-no-life.IJUH1', ...}

You can also download episodes of an anime.

import animeworld as aw

anime = aw.Anime(link="https://www.animeworld.so/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

For an overview of all the basics, go to the QuickStart section.

For more advanced topics, see the Advanced Usage section.

The API Reference section provides a complete API reference.

If you want to contribute to the project, visit the Contributing section.

Star History

Star History Chart