Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Episode

An episode as returned by TVShow.episodes. This is not intended to be instantiated by an API consumer, but instead from results from omdb.

Hierarchy

Index

Constructors

constructor

  • Creates an epsiode from results from omdb. This is not intended for consumer use. Please prefer {@link TVShow.epsiodes}.

    throws

    TypeError when the episode number is invalid

    Parameters

    • obj: OmdbEpisode

      Episodes fetched from omdb

    • Optional season: undefined | number

      Which season this episode belongs to

    Returns Episode

Properties

actors

actors: string

leading actors that starred in the movie

awards

awards: string

awards won

Optional boxoffice

boxoffice: undefined | string

Box office earnings

country

country: string

countries this movie was released in

director

director: string

the directors of the movie

Optional dvd

dvd: Date

date of the DVD release

episode

episode: number

what number episode in the season this episode is

genres

genres: string

the genres that this movie belongs to

imdbid

imdbid: string

id of the movie on imdb

imdburl

imdburl: string

direct URL to the movie on imdb

languages

languages: string

languages this movie was released in

metascore

metascore: string

score from a bunch of different review sites

name

name: string

title of the movie

plot

plot: string

the plot (can either be long or short as specified in MovieRequest)

poster

poster: string

link to the poster for this movie

Optional production

production: undefined | string

Production studio

rated

rated: string

what the movie was rated in its country of release

rating

rating: number

the rating as it appears on imdb

ratings

ratings: Rating[]

ratings for the media from various sources

Optional released

released: Date

date that the movie was originally released

runtime

runtime: string

the runtime of the movie

season

season: number

what season this episode is a part of

series

series: boolean

whether or not this is a TV series

seriesid

seriesid: string

what series this episode is a part of (imdbid)

title

title: string

the title of the movie in English

type

type of media (see RequestType)

votes

votes: string

votes received on imdb

Optional website

website: undefined | string

website for the movie

writer

writer: string

writers of the movie

year

year: number

year the movie was released

Generated using TypeDoc