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 details)
Built Distribution
File details
Details for the file ani-sched-0.1.3.tar.gz
.
File metadata
- Download URL: ani-sched-0.1.3.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5a86d6143e0919dd9ac83d5ec60257156022b725aee79e8dec5cde6a8f4192 |
|
MD5 | 007dfe4e1f5df1dcf51e1d5c1bca0a83 |
|
BLAKE2b-256 | 01df19be92e3500acc4a9c8faa503ef8a8aef51442dc2b4e09e26be8ef6ac092 |
File details
Details for the file ani_sched-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: ani_sched-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a524383b69b8dd8ae79ce259cb7fae82adc746966692bca6ae95233773b2e4f8 |
|
MD5 | 7048c25be549e54ee22b20db298a6364 |
|
BLAKE2b-256 | 440d5b4ab2de2804b3b9d288d9b3509c448fe99f7289e226d915596c5696d777 |