Media is an interface representing a media entity. It includes various properties related to the media.

interface Media {
    autoCreateForumThread: boolean;
    averageScore: number;
    bannerImage: string;
    chapters?: number;
    countryOfOrigin: string;
    coverImage: CoverImage;
    description: string;
    duration?: number;
    endDate: FuzzyDate;
    episodes?: number;
    externalLinks: ExternalLink[];
    favourites: number;
    format: string;
    genres: string[];
    hashtag: string;
    id: number;
    idMal: number;
    isAdult: boolean;
    isFavourite: boolean;
    isLicensed: boolean;
    isLocked: boolean;
    isRecommendationBlocked: boolean;
    meanScore: number;
    mediaListEntry: MediaListEntry;
    modNotes: string;
    nextAiringEpisode: NextAiringEpisode;
    popularity: number;
    rankings: Ranking[];
    season: string;
    seasonInt: number;
    seasonYear: number;
    siteUrl: string;
    source: string;
    startDate: FuzzyDate;
    stats: MediaStats;
    status: string;
    streamingEpisodes: StreamingEpisode[];
    synonyms: string[];
    tags: Tag[];
    title: Title;
    trailer: Trailer;
    trending: number;
    type: string;
    updatedAt: number;
    volumes?: number;
}

Properties

autoCreateForumThread: boolean

autoCreateForumThread is a boolean indicating whether a forum thread is automatically created for the media.

averageScore: number

averageScore is a number representing the average score of the media.

bannerImage: string

bannerImage is a string representing the URL of the banner image of the media.

chapters?: number

chapters is an optional number representing the number of chapters of the media.

countryOfOrigin: string

countryOfOrigin is a string representing the country of origin of the media.

coverImage: CoverImage

coverImage is an object of type CoverImage representing the cover image of the media.

description: string

description is a string representing the description of the media.

duration?: number

duration is an optional number representing the duration of the media.

endDate: FuzzyDate

endDate is an object of type FuzzyDate representing the end date of the media.

episodes?: number

episodes is an optional number representing the number of episodes of the media.

externalLinks: ExternalLink[]

externalLinks is an array of objects of type ExternalLink representing the external links of the media.

favourites: number

favourites is a number representing the number of favourites of the media.

format: string

format is a string representing the format of the media.

genres: string[]

genres is an array of strings representing the genres of the media.

hashtag: string

hashtag is a string representing the hashtag of the media.

id: number

id is a number representing the unique identifier of the media.

idMal: number

idMal is a number representing the MyAnimeList identifier of the media.

isAdult: boolean

isAdult is a boolean indicating whether the media is for adults.

isFavourite: boolean

isFavourite is a boolean indicating whether the media is a favourite.

isLicensed: boolean

isLicensed is a boolean indicating whether the media is licensed.

isLocked: boolean

isLocked is a boolean indicating whether the media is locked.

isRecommendationBlocked: boolean

isRecommendationBlocked is a boolean indicating whether recommendation is blocked for the media.

meanScore: number

meanScore is a number representing the mean score of the media.

mediaListEntry: MediaListEntry

mediaListEntry is an object of type MediaListEntry representing the media list entry of the media.

modNotes: string

modNotes is a string representing the moderator notes for the media.

nextAiringEpisode: NextAiringEpisode

nextAiringEpisode is an object of type NextAiringEpisode representing the next airing episode of the media.

popularity: number

popularity is a number representing the popularity of the media.

rankings: Ranking[]

rankings is an array of objects of type Ranking representing the rankings of the media.

season: string

season is a string representing the season of the media.

seasonInt: number

seasonInt is a number representing the integer value of the season of the media.

seasonYear: number

seasonYear is a number representing the year of the season of the media.

siteUrl: string

siteUrl is a string representing the site URL of the media.

source: string

source is a string representing the source of the media.

startDate: FuzzyDate

startDate is an object of type FuzzyDate representing the start date of the media.

stats: MediaStats

stats is an object of type MediaStats representing the statistics of the media.

status: string

status is a string representing the status of the media.

streamingEpisodes: StreamingEpisode[]

streamingEpisodes is an array of objects of type StreamingEpisode representing the streaming episodes of the media.

synonyms: string[]

synonyms is an array of strings representing the synonyms of the media.

tags: Tag[]

tags is an array of objects of type Tag representing the tags of the media.

title: Title

title is an object of type Title representing the title of the media.

trailer: Trailer

trailer is an object of type Trailer representing the trailer of the media.

trending: number

trending is a number representing the trending value of the media.

type: string

type is a string representing the type of the media.

updatedAt: number

updatedAt is a number representing the timestamp when the media was last updated.

volumes?: number

volumes is an optional number representing the number of volumes of the media.