Models¶
Data models for AnimeScraper. All accecsible attributes are showed here.
This module defines data structures for anime, characters, and related entities.
Classes
|
|
|
|
|
|
|
- class AnimeScraper._model.Anime(id: str, title: str, english_title: str | None, japanese_title: str | None, anime_type: str, episodes: str | None, status: str, aired: str, duration: str, premiered: str, rating: str, synopsis: str, genres: List[str], studios: str, themes: List[str], producers: List[str], licensors: List[str], stats: AnimeScraper._model.AnimeStats, characters: List[AnimeScraper._model.AnimeCharacter], related: List[dict[str, str]])[source]¶
Bases:
object- id: str¶
The MAL ID of the anime.
- title: str¶
The title of the anime.
- english_title: str | None¶
The English title of the anime.
- japanese_title: str | None¶
# The Japanese title of the anime.
- anime_type: str¶
The type of the anime (e.g., TV, Movie, OVA).
- episodes: str | None¶
Episode number of the anime.
- status: str¶
The current status (e.g., Finished Airing).
- aired: str¶
The airing date range.
- duration: str¶
Average duration of an episode.
- premiered: str¶
The premiered data of the anime.
- rating: str¶
The age rating (PG-13, R, etc..).
- synopsis: str¶
The synopsis of the anime.
- genres: List[str]¶
The genres of the anime.
- studios: str¶
The studios that animated the anime.
- themes: List[str]¶
The themes of the anime (e.g., school, Isekei)
- producers: List[str]¶
The producers of the anime.
- licensors: List[str]¶
The licensors of the anime.
- stats: AnimeStats¶
Statistics of the anime (score, popularity etc..).
- characters: List[AnimeCharacter]¶
List of characters appearing in anime.
Related works (anime, movies, manga etc.)
- class AnimeScraper._model.AnimeCharacter(id: str, name: str, role: str | None, voice_actor: Dict[str, str])[source]¶
Bases:
object- id: str¶
The MAL ID of the character.
- name: str¶
The name of the character.
- role: str | None¶
The character’s role in the anime.
- voice_actor: Dict[str, str]¶
Dictionary containing details about the voice actor.
- class AnimeScraper._model.AnimeStats(score: str, scored_by: str, ranked: str, popularity: str, members: str, favorites: str)[source]¶
Bases:
object- score: str¶
The score of the anime.
- scored_by: str¶
Number of people scored the anime.
- ranked: str¶
The rank of the anime.
- popularity: str¶
popularity of the anime.
- members: str¶
The member of the anime.
- favorites: str¶
The number people’s favorite anime.
- class AnimeScraper._model.Character(id: str, name: str, japanese_name: str | None, about: Dict[str, str], description: str, img: str, favorites: str, url: str)[source]¶
Bases:
object- id: str¶
The MAL ID of the character
- name: str¶
The name of the Character.
- japanese_name: str | None¶
Japanese name of the Character
- about: Dict[str, str]¶
A dictionary containing character’s details
- description: str¶
The description about the character
- img: str¶
An url of the character image
- favorites: str¶
The number of MAL users favorite character
- url: str¶
The MAL url of the Character page