anime-api


Nameanime-api JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/Nekidev/anime-api
SummaryA collection of wrappers for anime-related APIs
upload_time2023-12-30 00:09:23
maintainerNeki
docs_urlNone
authorNeki
requires_python>=3.7,<4
licenseMIT
keywords anime anime api api manga manga api catgirl anime images anime pictures
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # The Anime API Project

[![ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/G2G6I3GT1) [![Coinbase](https://img.shields.io/badge/Coinbase-0052FF?style=for-the-badge&logo=Coinbase&logoColor=white)](https://nyekipy.cb.id)

![Loli count](https://count.getloli.com/get/@anime-api?theme=gelbooru)

The Anime API is a collection of wrappers for different types of free anime-related APIs. [Join our Discord server](https://discord.gg/PgQnuM3YnM).

## Why anime-api (and not others)?

There are several reasons why would you prefer using anime-api:

-   **Intuitive**: anime-api is designed to be intuitive. Supports autocompletion everywhere.
-   **Complete**: Every actively supported API has no feature left apart.
-   **Simple**: Get all the anime information you want with a single line of code.
-   **Legal**: I shouldn't need to say this, but all the APIs are legal. (no free streaming services/others)
-   **Actively supported**: Get new releases (with new API wrappers) every now and then.

## Installation

Using Poetry:

```
poetry add anime-api
```

Using pip:

```
pip install anime-api
```

## Documentation

The full documentation can be found [here](https://github.com/Nekidev/anime-api/tree/main/docs).

## APIs

These are the currently supported and planned to add support for APIs:

| Name                        | API Documentation                                                                   | Available |
| --------------------------- | ----------------------------------------------------------------------------------- | --------- |
| Anime Facts Rest API        | [Documentation](https://chandan-02.github.io/anime-facts-rest-api/)                 | ✅        |
| Trace.moe                   | [Documentation](https://soruly.github.io/trace.moe-api/)                            | ✅        |
| Animechan                   | [Documentation](https://animechan.xyz/docs)                                         | ✅        |
| Jikan (MyAnimeList)         | [Documentation](https://jikan.docs.apiary.io/)                                      | ❌        |
| Waifu Pics                  | [Documentation](https://waifu.pics/docs)                                            | ✅        |
| Studio Ghibli API           | [Documentation](https://ghibliapi.herokuapp.com/)                                   | ✅        |
| Kitsu                       | [Documentation](https://kitsu.docs.apiary.io/)                                      | ❌        |
| AniList                     | [Documentation](https://anilist.gitbook.io/anilist-apiv2-docs/)                     | ❌        |
| AniDB                       | [Documentation](https://wiki.anidb.net/w/API)                                       | ❌        |
| Kyoko                       | [Documentation](https://github.com/Elliottophellia/kyoko)                           | ✅        |
| Animu                       | [Documentation](https://docs.waifu.it/)                                             | ✅        |
| Anisearch                   | [Documentation](https://anisearch.com/developers)                                   | ❌        |
| Anime News Network          | [Documentation](https://www.animenewsnetwork.com/encyclopedia/api.php)              | ❌        |
| Notify.moe (Anime Notifier) | [Documentation](https://notify.moe/api)                                             | ❌        |
| Hmtai                       | [Documentation](https://hmtai.hatsunia.cfd/v2/endpoints)                            | ✅        |
| Nekos.life                  | [Documentation](https://github.com/Nekos-life/nekos.py)                             | ✅        |
| NekoBot                     | [Documentation](https://docs.nekobot.xyz/)                                          | ✅        |
| Neko-Love                   | [Documentation](https://docs.neko-love.xyz/)                                        | ✅        |
| Nekos.best                  | [Documentation](https://docs.nekos.best/)                                           | ✅        |
| Nekos.moe                   | [Documentation](https://docs.nekos.moe/)                                            | ✅        |
| Shikimori                   | [Documentation](https://shikimori.one/api/doc)                                      | ❌        |
| MangaDex                    | [Documentation](https://api.mangadex.org/docs.html)                                 | ❌        |
| Danbooru                    | [Documentation](https://danbooru.donmai.us/wiki_pages/help:api)                     | ❌        |
| Yandere                     | [Documentation](https://yande.re/help/api)                                          | ❌        |
| Konachan                    | [Documentation](https://konachan.com/help/api)                                      | ❌        |
| Waifu.im                    | [Documentation](https://waifu.im/)                                                  | ✅        |
| Catboys                     | [Documentation](https://catboys.com/api)                                            | ✅        |
| Anime Character Database    | [Documentation](http://wiki.animecharactersdatabase.com/index.php?title=API_Access) | ❌        |
| Nekos API                   | [Documentation](https://v1.nekosapi.com/docs/rest-api/endpoints)                    | ✅        |

### APIs by feature

You know what you want to do, but have no idea of what API will work for you? This list orders the APIs by features. See which fits you best!

#### Images

-   Nekos API:
    -   Thousands of anime images
    -   Lots of image metadata
    -   Actively developed (frequent new features, images, categories, and more)
    -   100% open-source
    -   `v2.0.0` in its way
    -   Official Python wrapper (this!)
    -   Completely free
-   Animu:
    -   Tons of anime gifs and images
    -   Get reaction gifs from +60 different categories
    -   Completely free
-   Hmtai:
    -   Tons of anime gifs and images
    -   SFW and NSFW images
    -   Get random images from +70 different categories
    -   Completely free
-   Nekos.life
    -   Lots of different neko pics
    -   Get random neko images from +20 different categories
    -   Completely free
-   Waifu.pics
    -   Lots of different waifu images
    -   Get random images from +30 categories
    -   SFW and NSFW images
    -   Get 30 different images with a single API call
    -   Get a different image every time
    -   Completely free
-   NekoBot
    -   Lots of different neko images
    -   Image generation (memes, ships, etc.)
    -   Get random images from 30 different categories
    -   SFW and NSFW images
    -   Completely free
-   Nekos.moe
    -   Lots of different neko images
    -   Advanced image search
    -   Upload images
    -   Like and favorite images
    -   SFW and NSFW images
    -   Get any amount of random images
    -   Completely free
-   Nekos.best
    -   Lots of different neko images
    -   Get random images from +35 different categories
    -   Get many random images with a single API call
    -   Search for images by category, format and more
    -   Fully SFW
    -   99.9% uptime
    -   Fast response times
    -   Get all image's source
    -   Completely free

#### Facts

-   Anime Facts Rest API:
    -   Lots of different anime facts
    -   Get random fact from an anime
    -   Save fact ID and refetch the fact later
    -   Get a list of all available animes
    -   Completely free
-   Animu:
    -   Lots of anime facts
    -   Get random anime facts
    -   Completely free
-   Kyoko:
    -   Lots of different anime facts
    -   Get random reaction gifs from 3 different categories
    -   Completely free
-   Nekos.life
    -   Lots of different anime facts
    -   Get random anime facts
    -   Completely free

#### Quotes

-   Animechan:
    -   Lots of different quotes from a large list of characters and animes
    -   Get random anime quotes
    -   Get 10 random anime quotes with a single api call
    -   Search quotes by character name or anime title
    -   Get a list of all available animes
    -   Completely free
-   Animu:
    -   Lots of different anime quotes with information about who said them and where
    -   Get random anime quotes
    -   Completely free.
-   Kyoko:
    -   Lots of different anime quotes
    -   Get random quotes with information about who said them and where
    -   Completely free

#### Waifus

-   Animu:
    -   Lots of different waifus from Video Games, Animes, Movies and more.
    -   Get random waifus with their statistics, source, many images and more.
    -   Completely free

#### Animes

-   Anime Facts Rest API:
    -   Get a list of lots of snake-case anime titles with their images and facts about them
    -   Completely free
-   Animechan:
    -   Get a list of lots of anime titles with random quotes from them
    -   Completely free
-   Studio Ghibli API
    -   Get Studio Ghibli animes with information such as director, producer, etc.
    -   Dynamic loading support
    -   Get super specific anime details such as veichles, locations, people, and species.
    -   Completely free

#### Entertainment

-   Nekos.life
    -   Get an answer from an 8ball with an aditional image of an 8ball showing the answer.
    -   Get a random "why?" question
    -   Completely free

#### Utilities

-   Trace.moe
    -   Find an anime from a screenshot with information about the specific anime, episode and time of the screenshot.
    -   Completely free
-   Nekos.life
    -   Get a random cat text emoji
    -   Generate random names
    -   Owoify text (`hello` => `hewwo`)
    -   Mark text as spoiler (`hello` => `||hello||`) (API endpoint is currently bugged)
    -   Completely free
-   Animu:
    -   Generate a secure password
    -   Completely free

### APIs that will not be supported

-   Illegal anime streaming services
-   Non anime-related APIs
-   APIs that are not APIs (i.e. web scrapping)

## Contributing

Read the following before contributing:

### Adding an API

If you want to add an API to the list, please make sure that:

-   The API is free to use
-   The API is anime-related (or manga-related)
-   You follow the same architecture as the other API wrappers
-   Document the code you write
-   Add all the necessary tests to the `tests` folder

### Fixing an API wrapper

Before fixing an API wrapper, please make sure that:

-   The bug is not being fixed in another PR
-   The bug is actually a bug and not a feature (xd)
-   The bug is not a bug from the API itself
-   You have created an issue. If you have not created an issue, please create one before fixing the bug.

### Requesting a new API

If you want to request a new API, please make sure that:

-   The API is free to use
-   The API is anime-related (or manga-related)
-   It is not already in the list (wether available or not)

Once you have checked this, please create an issue with the following information:

-   The name of the API
-   The API docs link
-   List of all the features the API has

## Mantainers

<table>
  <tr>
    <td style="align:center;">
      <a href="https://github.com/Nekidev">
        <img src="https://avatars.githubusercontent.com/u/84998222?s=256&v=4" height="100" width="100" alt="Nekidev avatar" />
        <br>
        <span>Nekidev</span>
      </a>
    </td>
  </tr>
</table>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Nekidev/anime-api",
    "name": "anime-api",
    "maintainer": "Neki",
    "docs_url": null,
    "requires_python": ">=3.7,<4",
    "maintainer_email": "nyeki@nyeki.dev",
    "keywords": "anime,anime api,api,manga,manga api,catgirl,anime images,anime pictures",
    "author": "Neki",
    "author_email": "nyeki@nyeki.dev",
    "download_url": "https://files.pythonhosted.org/packages/10/8a/855730cedbd030b83fd852950f8fd2cda9fc69c91d6fca4ce67ae39d8e83/anime_api-1.0.2.tar.gz",
    "platform": null,
    "description": "# The Anime API Project\n\n[![ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/G2G6I3GT1) [![Coinbase](https://img.shields.io/badge/Coinbase-0052FF?style=for-the-badge&logo=Coinbase&logoColor=white)](https://nyekipy.cb.id)\n\n![Loli count](https://count.getloli.com/get/@anime-api?theme=gelbooru)\n\nThe Anime API is a collection of wrappers for different types of free anime-related APIs. [Join our Discord server](https://discord.gg/PgQnuM3YnM).\n\n## Why anime-api (and not others)?\n\nThere are several reasons why would you prefer using anime-api:\n\n-   **Intuitive**: anime-api is designed to be intuitive. Supports autocompletion everywhere.\n-   **Complete**: Every actively supported API has no feature left apart.\n-   **Simple**: Get all the anime information you want with a single line of code.\n-   **Legal**: I shouldn't need to say this, but all the APIs are legal. (no free streaming services/others)\n-   **Actively supported**: Get new releases (with new API wrappers) every now and then.\n\n## Installation\n\nUsing Poetry:\n\n```\npoetry add anime-api\n```\n\nUsing pip:\n\n```\npip install anime-api\n```\n\n## Documentation\n\nThe full documentation can be found [here](https://github.com/Nekidev/anime-api/tree/main/docs).\n\n## APIs\n\nThese are the currently supported and planned to add support for APIs:\n\n| Name                        | API Documentation                                                                   | Available |\n| --------------------------- | ----------------------------------------------------------------------------------- | --------- |\n| Anime Facts Rest API        | [Documentation](https://chandan-02.github.io/anime-facts-rest-api/)                 | \u2705        |\n| Trace.moe                   | [Documentation](https://soruly.github.io/trace.moe-api/)                            | \u2705        |\n| Animechan                   | [Documentation](https://animechan.xyz/docs)                                         | \u2705        |\n| Jikan (MyAnimeList)         | [Documentation](https://jikan.docs.apiary.io/)                                      | \u274c        |\n| Waifu Pics                  | [Documentation](https://waifu.pics/docs)                                            | \u2705        |\n| Studio Ghibli API           | [Documentation](https://ghibliapi.herokuapp.com/)                                   | \u2705        |\n| Kitsu                       | [Documentation](https://kitsu.docs.apiary.io/)                                      | \u274c        |\n| AniList                     | [Documentation](https://anilist.gitbook.io/anilist-apiv2-docs/)                     | \u274c        |\n| AniDB                       | [Documentation](https://wiki.anidb.net/w/API)                                       | \u274c        |\n| Kyoko                       | [Documentation](https://github.com/Elliottophellia/kyoko)                           | \u2705        |\n| Animu                       | [Documentation](https://docs.waifu.it/)                                             | \u2705        |\n| Anisearch                   | [Documentation](https://anisearch.com/developers)                                   | \u274c        |\n| Anime News Network          | [Documentation](https://www.animenewsnetwork.com/encyclopedia/api.php)              | \u274c        |\n| Notify.moe (Anime Notifier) | [Documentation](https://notify.moe/api)                                             | \u274c        |\n| Hmtai                       | [Documentation](https://hmtai.hatsunia.cfd/v2/endpoints)                            | \u2705        |\n| Nekos.life                  | [Documentation](https://github.com/Nekos-life/nekos.py)                             | \u2705        |\n| NekoBot                     | [Documentation](https://docs.nekobot.xyz/)                                          | \u2705        |\n| Neko-Love                   | [Documentation](https://docs.neko-love.xyz/)                                        | \u2705        |\n| Nekos.best                  | [Documentation](https://docs.nekos.best/)                                           | \u2705        |\n| Nekos.moe                   | [Documentation](https://docs.nekos.moe/)                                            | \u2705        |\n| Shikimori                   | [Documentation](https://shikimori.one/api/doc)                                      | \u274c        |\n| MangaDex                    | [Documentation](https://api.mangadex.org/docs.html)                                 | \u274c        |\n| Danbooru                    | [Documentation](https://danbooru.donmai.us/wiki_pages/help:api)                     | \u274c        |\n| Yandere                     | [Documentation](https://yande.re/help/api)                                          | \u274c        |\n| Konachan                    | [Documentation](https://konachan.com/help/api)                                      | \u274c        |\n| Waifu.im                    | [Documentation](https://waifu.im/)                                                  | \u2705        |\n| Catboys                     | [Documentation](https://catboys.com/api)                                            | \u2705        |\n| Anime Character Database    | [Documentation](http://wiki.animecharactersdatabase.com/index.php?title=API_Access) | \u274c        |\n| Nekos API                   | [Documentation](https://v1.nekosapi.com/docs/rest-api/endpoints)                    | \u2705        |\n\n### APIs by feature\n\nYou know what you want to do, but have no idea of what API will work for you? This list orders the APIs by features. See which fits you best!\n\n#### Images\n\n-   Nekos API:\n    -   Thousands of anime images\n    -   Lots of image metadata\n    -   Actively developed (frequent new features, images, categories, and more)\n    -   100% open-source\n    -   `v2.0.0` in its way\n    -   Official Python wrapper (this!)\n    -   Completely free\n-   Animu:\n    -   Tons of anime gifs and images\n    -   Get reaction gifs from +60 different categories\n    -   Completely free\n-   Hmtai:\n    -   Tons of anime gifs and images\n    -   SFW and NSFW images\n    -   Get random images from +70 different categories\n    -   Completely free\n-   Nekos.life\n    -   Lots of different neko pics\n    -   Get random neko images from +20 different categories\n    -   Completely free\n-   Waifu.pics\n    -   Lots of different waifu images\n    -   Get random images from +30 categories\n    -   SFW and NSFW images\n    -   Get 30 different images with a single API call\n    -   Get a different image every time\n    -   Completely free\n-   NekoBot\n    -   Lots of different neko images\n    -   Image generation (memes, ships, etc.)\n    -   Get random images from 30 different categories\n    -   SFW and NSFW images\n    -   Completely free\n-   Nekos.moe\n    -   Lots of different neko images\n    -   Advanced image search\n    -   Upload images\n    -   Like and favorite images\n    -   SFW and NSFW images\n    -   Get any amount of random images\n    -   Completely free\n-   Nekos.best\n    -   Lots of different neko images\n    -   Get random images from +35 different categories\n    -   Get many random images with a single API call\n    -   Search for images by category, format and more\n    -   Fully SFW\n    -   99.9% uptime\n    -   Fast response times\n    -   Get all image's source\n    -   Completely free\n\n#### Facts\n\n-   Anime Facts Rest API:\n    -   Lots of different anime facts\n    -   Get random fact from an anime\n    -   Save fact ID and refetch the fact later\n    -   Get a list of all available animes\n    -   Completely free\n-   Animu:\n    -   Lots of anime facts\n    -   Get random anime facts\n    -   Completely free\n-   Kyoko:\n    -   Lots of different anime facts\n    -   Get random reaction gifs from 3 different categories\n    -   Completely free\n-   Nekos.life\n    -   Lots of different anime facts\n    -   Get random anime facts\n    -   Completely free\n\n#### Quotes\n\n-   Animechan:\n    -   Lots of different quotes from a large list of characters and animes\n    -   Get random anime quotes\n    -   Get 10 random anime quotes with a single api call\n    -   Search quotes by character name or anime title\n    -   Get a list of all available animes\n    -   Completely free\n-   Animu:\n    -   Lots of different anime quotes with information about who said them and where\n    -   Get random anime quotes\n    -   Completely free.\n-   Kyoko:\n    -   Lots of different anime quotes\n    -   Get random quotes with information about who said them and where\n    -   Completely free\n\n#### Waifus\n\n-   Animu:\n    -   Lots of different waifus from Video Games, Animes, Movies and more.\n    -   Get random waifus with their statistics, source, many images and more.\n    -   Completely free\n\n#### Animes\n\n-   Anime Facts Rest API:\n    -   Get a list of lots of snake-case anime titles with their images and facts about them\n    -   Completely free\n-   Animechan:\n    -   Get a list of lots of anime titles with random quotes from them\n    -   Completely free\n-   Studio Ghibli API\n    -   Get Studio Ghibli animes with information such as director, producer, etc.\n    -   Dynamic loading support\n    -   Get super specific anime details such as veichles, locations, people, and species.\n    -   Completely free\n\n#### Entertainment\n\n-   Nekos.life\n    -   Get an answer from an 8ball with an aditional image of an 8ball showing the answer.\n    -   Get a random \"why?\" question\n    -   Completely free\n\n#### Utilities\n\n-   Trace.moe\n    -   Find an anime from a screenshot with information about the specific anime, episode and time of the screenshot.\n    -   Completely free\n-   Nekos.life\n    -   Get a random cat text emoji\n    -   Generate random names\n    -   Owoify text (`hello` => `hewwo`)\n    -   Mark text as spoiler (`hello` => `||hello||`) (API endpoint is currently bugged)\n    -   Completely free\n-   Animu:\n    -   Generate a secure password\n    -   Completely free\n\n### APIs that will not be supported\n\n-   Illegal anime streaming services\n-   Non anime-related APIs\n-   APIs that are not APIs (i.e. web scrapping)\n\n## Contributing\n\nRead the following before contributing:\n\n### Adding an API\n\nIf you want to add an API to the list, please make sure that:\n\n-   The API is free to use\n-   The API is anime-related (or manga-related)\n-   You follow the same architecture as the other API wrappers\n-   Document the code you write\n-   Add all the necessary tests to the `tests` folder\n\n### Fixing an API wrapper\n\nBefore fixing an API wrapper, please make sure that:\n\n-   The bug is not being fixed in another PR\n-   The bug is actually a bug and not a feature (xd)\n-   The bug is not a bug from the API itself\n-   You have created an issue. If you have not created an issue, please create one before fixing the bug.\n\n### Requesting a new API\n\nIf you want to request a new API, please make sure that:\n\n-   The API is free to use\n-   The API is anime-related (or manga-related)\n-   It is not already in the list (wether available or not)\n\nOnce you have checked this, please create an issue with the following information:\n\n-   The name of the API\n-   The API docs link\n-   List of all the features the API has\n\n## Mantainers\n\n<table>\n  <tr>\n    <td style=\"align:center;\">\n      <a href=\"https://github.com/Nekidev\">\n        <img src=\"https://avatars.githubusercontent.com/u/84998222?s=256&v=4\" height=\"100\" width=\"100\" alt=\"Nekidev avatar\" />\n        <br>\n        <span>Nekidev</span>\n      </a>\n    </td>\n  </tr>\n</table>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A collection of wrappers for anime-related APIs",
    "version": "1.0.2",
    "project_urls": {
        "Documentation": "https://github.com/Nekidev/anime-api/tree/main/docs",
        "Homepage": "https://github.com/Nekidev/anime-api",
        "Repository": "https://github.com/Nekidev/anime-api"
    },
    "split_keywords": [
        "anime",
        "anime api",
        "api",
        "manga",
        "manga api",
        "catgirl",
        "anime images",
        "anime pictures"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67048c64a0b922ad62ea7791120152139ce407aa1bda6663e5d3de86388775c5",
                "md5": "3df0944f9e8a6f39ff5459bc0c845e14",
                "sha256": "68c57af6952b81f8c1f315af6472df99968868c2817f024900694803f5d91ed8"
            },
            "downloads": -1,
            "filename": "anime_api-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3df0944f9e8a6f39ff5459bc0c845e14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4",
            "size": 47359,
            "upload_time": "2023-12-30T00:09:19",
            "upload_time_iso_8601": "2023-12-30T00:09:19.607017Z",
            "url": "https://files.pythonhosted.org/packages/67/04/8c64a0b922ad62ea7791120152139ce407aa1bda6663e5d3de86388775c5/anime_api-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "108a855730cedbd030b83fd852950f8fd2cda9fc69c91d6fca4ce67ae39d8e83",
                "md5": "0d077b2cb2fea55982fcd6f9ed12de2b",
                "sha256": "b5da7d2e5de86f15b0a1779699fe1074a3908c8ed535c1e61023c405348e0243"
            },
            "downloads": -1,
            "filename": "anime_api-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0d077b2cb2fea55982fcd6f9ed12de2b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4",
            "size": 32495,
            "upload_time": "2023-12-30T00:09:23",
            "upload_time_iso_8601": "2023-12-30T00:09:23.947455Z",
            "url": "https://files.pythonhosted.org/packages/10/8a/855730cedbd030b83fd852950f8fd2cda9fc69c91d6fca4ce67ae39d8e83/anime_api-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-30 00:09:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Nekidev",
    "github_project": "anime-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "anime-api"
}
        
Elapsed time: 2.02821s