Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 792 Bytes

File metadata and controls

29 lines (21 loc) · 792 Bytes

python-animethemes

python-animethemes is a Python wrapper for AnimeThemes.moe API (incomplete).
Still a work-in-progress at the moment and subject to change.

Currently uses API endpoints at https://staging.animethemes.moe/api by default.

Usage

from animethemes import AnimeThemes

themes = AnimeThemes()

# Search for anime, themes, artists, etc.
search_result = themes.search("Bakemonogatari")
print(search_result.anime[0].name) # Bakemonogatari
print(search_result.themes[1].slug) # OP2

# Look up individual anime, themes, artists, etc.
anime_result = themes.anime("bakemonogatari")
print(anime_result.name) # Bakemonogatari
.. toctree::
   :maxdepth: 4
   :caption: Reference

   animethemes