A MyAnimeListAPI wrapper written in Python.
Project description
mal.py
A MyAnimeList API wrapper written in Python.
The objective for now is to cover queries for the publicly available information, support for taking actions on a user list is not planned.
Features
- anime and manga search given a keyword
- fetch details of anime or manga given its id or its url
- accessing public lists of users
- retrieving seasonal anime
- retrieve rankings for anime and manga
- retrieve forum boards and discussions
The next features that are planned to be implemented are:
- retrieve more information on recommendations and related entries
Installation
Python 3.8+ is needed.
To use this library:
- (optional) create a virtual environment
python -m venv .venv
and activate it - install with
pip install mal-api.py
- to perform requests you need an API token log in on MAL -> account settings -> API -> create ID
Usage
from mal import client
cli = client.Client('your token here')
anime = cli.get_anime(16498)
anime.title
>> Shingeki_no_Kyojin
Full documentation available here.
Code samples can be found in the examples folder.
This project is still a work in progress, if you have problems or find bugs feel free to open an issue or start a discussion.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mal-api.py-0.4.1.tar.gz
(22.5 kB
view hashes)
Built Distribution
mal_api.py-0.4.1-py3-none-any.whl
(25.4 kB
view hashes)
Close
Hashes for mal_api.py-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667ebdea5e552d6c1122bb1ba10f3c781487c5f955a1222737a004746ca2c0cf |
|
MD5 | fa96f397ab0accaeb81bdb37ddaaa0aa |
|
BLAKE2b-256 | bf340d03bbad1d75ca2a03861763544987c7363bd91e549e2c064c175fda50a4 |