anime-api


Nameanime-api JSON
Version 0.13.1 PyPI version JSON
download
home_page
SummaryA collection of wrappers for anime-related APIs
upload_time2022-09-25 06:28:31
maintainer
docs_urlNone
authorNeki
requires_python>=3.7,<4
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # The Anime API Project

![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.


## 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](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.vercel.app/guide)                                 | ✅        |
| 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.animu.ml/)                                             | ✅        |
| 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.herokuapp.com/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)                                      | ❌        |
| Waifus.im                   | [Documentation](https://waifu.im/)                                                  | ❌        |
| Catboys                     | [Documentation](https://catboys.com/api)                                            | ❌        |
| Anime Character Database    | [Documentation](http://wiki.animecharactersdatabase.com/index.php?title=API_Access) | ❌        |
| AniBase                     | Not released                                                                        | ❌        |
| Nekos API                   | Not released                                                                        | ❌        |


### 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

- 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": "",
    "name": "anime-api",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4",
    "maintainer_email": "",
    "keywords": "",
    "author": "Neki",
    "author_email": "84998222+Nekidev@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/2e/89/57e282428bde51c4eedcf983acd07970c14b352727094d886d53646a0f1f/anime-api-0.13.1.tar.gz",
    "platform": null,
    "description": "# The Anime API Project\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.\n\n\n## Why anime-api (and not others)?\n\nThere are several reasons why would you prefer using anime-api:\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\n## Installation\n\nUsing Poetry:\n```\npoetry add anime-api\n```\n\nUsing pip:\n```\npip install anime-api\n```\n\n## Documentation\n\nThe full documentation can be found [here](docs/).\n\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.vercel.app/guide)                                 | \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.animu.ml/)                                             | \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.herokuapp.com/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| Waifus.im                   | [Documentation](https://waifu.im/)                                                  | \u274c        |\n| Catboys                     | [Documentation](https://catboys.com/api)                                            | \u274c        |\n| Anime Character Database    | [Documentation](http://wiki.animecharactersdatabase.com/index.php?title=API_Access) | \u274c        |\n| AniBase                     | Not released                                                                        | \u274c        |\n| Nekos API                   | Not released                                                                        | \u274c        |\n\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\n#### Images\n\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\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\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\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\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\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\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\n### APIs that will not be supported\n- Illegal anime streaming services\n- Non anime-related APIs\n- APIs that are not APIs (i.e. web scrapping)\n\n\n## Contributing\n\nRead the following before contributing:\n\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\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\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\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": "",
    "summary": "A collection of wrappers for anime-related APIs",
    "version": "0.13.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a876b360df7be1f7767df84bb2e09ae7",
                "sha256": "cf1c89767782a8a1c484823d7d37bcc5f3f4252db4e257ce74ec2251cf64f969"
            },
            "downloads": -1,
            "filename": "anime_api-0.13.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a876b360df7be1f7767df84bb2e09ae7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4",
            "size": 38401,
            "upload_time": "2022-09-25T06:28:33",
            "upload_time_iso_8601": "2022-09-25T06:28:33.772006Z",
            "url": "https://files.pythonhosted.org/packages/77/ad/3d840ae710ac7f8110466bc4ea1d39a2143fea1ab92612564a1c26353652/anime_api-0.13.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "7c152a756387a3cbbd47cf54af638490",
                "sha256": "13fe9d3b9d0fafff415a041b4642eee848cfeb51806ff7565f997548cb223740"
            },
            "downloads": -1,
            "filename": "anime-api-0.13.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7c152a756387a3cbbd47cf54af638490",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4",
            "size": 28236,
            "upload_time": "2022-09-25T06:28:31",
            "upload_time_iso_8601": "2022-09-25T06:28:31.253869Z",
            "url": "https://files.pythonhosted.org/packages/2e/89/57e282428bde51c4eedcf983acd07970c14b352727094d886d53646a0f1f/anime-api-0.13.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-25 06:28:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "anime-api"
}
        
Elapsed time: 0.48819s