Skip to content
On this page

Content API. Serials

NOTE

* - required fields

Serial

Field nameTypeDescription
idstring*The unique ID of the serial
contentTypeMediaContentType*Type of the content. (More detailed)
titlestring*Serial title
descriptionstring*Serial description
yearnumber*The year of the serial's premiere
release_dateDateRelease date of the digital edition
age_limitnumber*Age limit on watching a serial
countriesCountry[]Countries that took part in the shooting of the serial
actorsActor[]Actors who starred in the serial
directorsDirector[]Directors of the serial
genresGenre[]*Genres that the serial corresponds to
posterstring*Link to the image used as a poster
backgroundstring*Link to the image used as a cover
imdb_ratingfloatRating of the serial on IMDB
imdb_vote_countnumberThe number of people who rated the serial on IMDB
kinopoisk_ratingfloatRating of the serial on Kinopoisk
kinopoisk_vote_countnumberThe number of people who rated the serial on Kinopoisk
seasonsSeason[]*List of seasons of this serial
Details response
{
  id: string;
  contentType: MediaContentType;
  
  // Content info fields
  title: string;
  description: string;
  year: number;
  release_date: Date;
  age_limit: number;
  countries?: Country[];
  actors?: Actor[],
  directors?: Director[],
  genres: Genre[],
  poster: string,
  background: string,
  
  // Rating fields
  imdb_rating?: float,
  imdb_vote_count?: number,
  kinopoisk_rating?: float,
  kinopoisk_vote_count?: number,
  
  seasons: Season[],
}

Season

Field nameTypeDescription
idstring*The unique ID of the season
contentTypeMediaContentType*Type of the content. (More detailed)
titlestring*Season title
descriptionstringSeason description
yearnumber*The year of the season's premiere
release_dateDateRelease date of the digital edition
age_limitnumberAge limit on watching a season
countriesCountry[]Countries that took part in the shooting of the season
actorsActor[]Actors who starred in the season
directorsDirector[]Directors of the season
genresGenre[]Genres that the season corresponds to
posterstring*Link to the image used as a poster
backgroundstring*Link to the image used as a cover
imdb_ratingfloatRating of the season on IMDB
imdb_vote_countnumberThe number of people who rated the season on IMDB
kinopoisk_ratingfloatRating of the season on Kinopoisk
kinopoisk_vote_countnumberThe number of people who rated the season on Kinopoisk
episodesEpisode[]*List of episodes of this season
Details response
{
  id: string;
  contentType: MediaContentType;
  
  // Content info fields
  title: string;
  description?: string;
  year: number;
  release_date?: Date;
  age_limit?: number;
  countries?: Country[];
  actors?: Actor[],
  directors?: Director[],
  genres?: Genre[],
  poster: string,
  background: string,
  
  // Rating fields
  imdb_rating?: float,
  imdb_vote_count?: number,
  kinopoisk_rating?: float,
  kinopoisk_vote_count?: number,
  
  episodes: Episode[],
}

Episode

Field nameTypeDescription
idstring*The unique ID of the episode
contentTypeMediaContentType*Type of the content. (More detailed)
titlestring*Episode title
descriptionstringEpisode description
yearnumberThe year of the episode's premiere
release_dateDate*Release date of the episode
age_limitnumberAge limit on watching a episode
countriesCountry[]Countries that took part in the shooting of the episode
actorsActor[]Actors who starred in the episode
directorsDirector[]Directors of the episode
genresGenre[]Genres that the episode corresponds to
posterstringLink to the image used as a poster
backgroundstringLink to the image used as a cover
imdb_ratingfloatRating of the episode on IMDB
imdb_vote_countnumberThe number of people who rated the episode on IMDB
kinopoisk_ratingfloatRating of the episode on Kinopoisk
kinopoisk_vote_countnumberThe number of people who rated the episode on Kinopoisk
sourcestring*Link to .m3u8 playlist
previewstring*Link to the first frame of the video file
durationstring*Duration of the video episode
Details response
{
  id: string;
  contentType: MediaContentType;
  
  // Content info fields
  title: string;
  description?: string;
  year?: number;
  release_date: Date;
  age_limit?: number;
  countries?: Country[];
  actors?: Actor[],
  directors?: Director[],
  genres?: Genre[],
  poster?: string,
  background?: string,
  
  // Rating fields
  imdb_rating?: float,
  imdb_vote_count?: number,
  kinopoisk_rating?: float,
  kinopoisk_vote_count?: number,
  
  // Media source fields
  source: string,
  preview: string,
  duration: number,
}

Released under the Mozilla Public License Version 2.0.