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.2.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for ani_sched-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc9c651f17e91a1cda0254d140938fadbc829161fbff425118b4520903826a0 |
|
MD5 | d27cae654273792e8931e6aaefb6453e |
|
BLAKE2b-256 | 2de4203ed1166cb0da1b7007e093106011de9178a82867595a2cf52b35bac5cc |