A local MAL API for anime schedules and news (using livechart.me)
Project description
Python Anime Schedule API
A lightweight API for gathering anime schedules from MyAnimeList or anime news and announcements from LiveChart.
Installation and Usage
To install the library:
pip install -U ani-sched
To import the library:
from ani_sched import *
Example
To call the API, you need to create an object.
from ani_sched import AniSched
api = AniSched()
fall_2022 = api.season(year=2022, season='fall') # gets the animes of Fall 2022
print(fall["TV (New)"][7]["title"]) # prints the title of the 8th most popular TV anime of Fall 2022
# output: "Bocchi the Rock!"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ani-sched-0.1.3.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for ani_sched-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a524383b69b8dd8ae79ce259cb7fae82adc746966692bca6ae95233773b2e4f8 |
|
MD5 | 7048c25be549e54ee22b20db298a6364 |
|
BLAKE2b-256 | 440d5b4ab2de2804b3b9d288d9b3509c448fe99f7289e226d915596c5696d777 |