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 details)
Built Distribution
File details
Details for the file ani-sched-0.1.2.tar.gz
.
File metadata
- Download URL: ani-sched-0.1.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4404aa78c0ca145a46bd7db7b815a63012cb5428e498639de6d5ed47674c5e01 |
|
MD5 | 68a276aafcd5e133051a441b931fc073 |
|
BLAKE2b-256 | c581d8769140f01ab4dffa03c3e3f480fe9199c8389d464872547a7a18cbb165 |
File details
Details for the file ani_sched-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ani_sched-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc9c651f17e91a1cda0254d140938fadbc829161fbff425118b4520903826a0 |
|
MD5 | d27cae654273792e8931e6aaefb6453e |
|
BLAKE2b-256 | 2de4203ed1166cb0da1b7007e093106011de9178a82867595a2cf52b35bac5cc |