Skip to main content

A local MAL API for anime schedules and news (using livechart.me)

Project description

Python Anime Schedule API

Version

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)

Uploaded Source

Built Distribution

ani_sched-0.1.3-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page