mal package
Submodules
mal.anime module
mal.base module
mal.client module
mal.endpoints module
All the available endpoints of the MAL API v2, excluding the ones that require user login to perform actions.
- class mal.endpoints.Endpoint(value)
Bases:
Enum
Characterize the available endpoints. Each entry has two fields: url and limit.
- Attributes
url: contains the url to the endpoint limit: contains the maximum value for the limit parameter for that endpoint.
- ANIME = ('https://api.myanimelist.net/v2/anime', 100)
- ANIME_RANKING = ('https://api.myanimelist.net/v2/anime/ranking', 500)
- ANIME_SEASONAL = ('https://api.myanimelist.net/v2/anime/season', 500)
- MANGA = ('https://api.myanimelist.net/v2/manga', 100)
- MANGA_RANKING = ('https://api.myanimelist.net/v2/manga/ranking', 500)
- USER_ANIMELIST = ('https://api.myanimelist.net/v2/users/{username}/animelist', 1000)
- USER_MANGALIST = ('https://api.myanimelist.net/v2/users/{username}/mangalist', 1000)
- FORUM_BOARDS = ('https://api.myanimelist.net/v2/forum/boards', 100)
- FORUM_TOPICS = ('https://api.myanimelist.net/v2/forum/topics', 100)
- FORUM_TOPIC_DETAIL = ('https://api.myanimelist.net/v2/forum/topic', 100)
- property is_anime: bool
- property is_manga: bool
- property is_list: bool
- property is_forum: bool
mal.enums module
mal.forum module
mal.genre module
mal.manga module
mal.titles module
- class mal.titles.Titles(title: str, payload: TitlesPayload)
Bases:
object
Contains the information about the alternative titles for an anime or a manga, including different languages.
- title
The title of the work.
- synonyms
A list of alternative titles.
- en_title
Official english title.
- ja_title
Official japanese title.
Module contents
MyAnimeList API wrapper
Simple wrapper for the MyAnimeList API.
- copyright:
2022 Skylake-dev
- license:
MIT, see LICENSE for more details