Skip to content

Ravencentric/pyanilist

Repository files navigation


Logo

Simple AniList API wrapper to fetch media data

PyPI - Version PyPI - Python Version License Checked with mypy Ruff

GitHub Workflow Status (with event) GitHub Actions Workflow Status codecov

Table Of Contents

About

  • Supports both sync and async.
  • Only supports querying the Media type.

Installation

pyanilist is available on PyPI, so you can simply use pip to install it.

pip install pyanilist

Usage

from pyanilist import AniList

media = AniList().get("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.

License

Distributed under the Unlicense License. See UNLICENSE for more information.