Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 616 Bytes

File metadata and controls

21 lines (16 loc) · 616 Bytes

python-animethemes

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

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