https://github.com/ravencentric/pyanilist
A Python wrapper for the AniList API
https://github.com/ravencentric/pyanilist
anilist anime python
Last synced: 6 months ago
JSON representation
A Python wrapper for the AniList API
- Host: GitHub
- URL: https://github.com/ravencentric/pyanilist
- Owner: Ravencentric
- License: mit
- Created: 2024-03-16T07:50:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T20:47:00.000Z (7 months ago)
- Last Synced: 2025-04-11T21:36:43.680Z (7 months ago)
- Topics: anilist, anime, python
- Language: Python
- Homepage: https://pyanilist.ravencentric.cc/
- Size: 1.54 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Python wrapper for the AniList API.
[](https://pypi.org/project/pyanilist/)





[](https://codecov.io/gh/Ravencentric/pyanilist)
## Table Of Contents
* [Installation](#installation)
* [Docs](#docs)
* [License](#license)
## Installation
`pyanilist` is available on [PyPI](https://pypi.org/project/pyanilist/), so you can simply use [pip](https://github.com/pypa/pip) to install it.
```sh
pip install pyanilist
```
## Usage
```py
from pyanilist import AniList
with AniList() as anilist:
media = anilist.get_media("My Hero Academia")
print(media.title.romaji)
#> Boku no Hero Academia
print(media.site_url)
#> https://anilist.co/anime/21459
print(media.episodes)
#> 13
```
## Docs
Checkout the complete documentation [here](https://pyanilist.ravencentric.cc).
## License
Distributed under the [MIT](https://choosealicense.com/licenses/mit/) License. See [LICENSE](https://github.com/Ravencentric/pyanilist/blob/main/LICENSE) for more information.