Enums
BaseStrEnum
Bases: StrEnum
Internal base class for string enums.
Provides case-insensitive lookups and a human-friendly .label
property.
Not intended for direct use; public enums inherit from this.
label
property
label: str
Human-friendly version of the enum value.
Converts underscores to spaces and applies title casing, with special handling for common abbreviations (e.g. "TV").
CharacterRole
Bases: BaseStrEnum
The role the character plays in the media.
BACKGROUND
class-attribute
instance-attribute
A background character in the media.
CharacterSort
ExternalLinkType
Bases: BaseStrEnum
External Link Type.
MediaFormat
Bases: BaseStrEnum
The format the media was released in.
MANGA
class-attribute
instance-attribute
Professionally published manga with more than one chapter.
NOVEL
class-attribute
instance-attribute
Written books released as a series of light novels.
ONA
class-attribute
instance-attribute
Original Net Animation. Anime that have been originally released online or are only available through streaming services.
OVA
class-attribute
instance-attribute
Original Video Animation. Anime that have been released directly on DVD/Blu-ray without originally going through a theatrical release or television broadcast.
SPECIAL
class-attribute
instance-attribute
Special episodes that have been included in DVD/Blu-ray releases, picture dramas, pilots, etc.
MediaRankType
Bases: BaseStrEnum
The type of ranking.
MediaRelation
Bases: BaseStrEnum
Type of relation media has to its parent.
ADAPTATION
class-attribute
instance-attribute
An adaptation of this media into a different format.
ALTERNATIVE
class-attribute
instance-attribute
An alternative version of the same media.
SIDE_STORY
class-attribute
instance-attribute
A side story of the parent media.
SOURCE
class-attribute
instance-attribute
Version 2 only. The source material the media was adapted from.
SPIN_OFF
class-attribute
instance-attribute
An alternative version of the media with a different primary focus.
MediaSeason
MediaSort
MediaSource
Bases: BaseStrEnum
Source type the media was adapted from.
DOUJINSHI
class-attribute
instance-attribute
Version 2+ only. Self-published works.
LIGHT_NOVEL
class-attribute
instance-attribute
Written work published in volumes.
LIVE_ACTION
class-attribute
instance-attribute
Version 3 only. Live action media such as movies or TV show.
MULTIMEDIA_PROJECT
class-attribute
instance-attribute
Version 3 only. Multimedia project.
NOVEL
class-attribute
instance-attribute
Version 2+ only. Written works not published in volumes.
ORIGINAL
class-attribute
instance-attribute
An original production not based of another work.
PICTURE_BOOK
class-attribute
instance-attribute
Version 3 only. Picture book.
VISUAL_NOVEL
class-attribute
instance-attribute
Video game driven primary by text and narrative.
MediaStatus
Bases: BaseStrEnum
The current releasing status of the media.
CANCELLED
class-attribute
instance-attribute
Ended before the work could be finished.
FINISHED
class-attribute
instance-attribute
Has completed and is no longer being released.
HIATUS
class-attribute
instance-attribute
Version 2 only. Is currently paused from releasing and will resume at a later date.
NOT_YET_RELEASED
class-attribute
instance-attribute
To be released at a later date.
MediaType
Bases: BaseStrEnum
The type of the media; anime or manga.
RecommendationSort
Bases: BaseStrEnum
Recommendation sort enums.