Skip to content

Ravencentric/pyanilist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

A Python wrapper for the AniList API

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

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

Table Of Contents

Installation

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

pip install pyanilist

Usage

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.

License

Distributed under the MIT License. See LICENSE for more information.