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

    • season: number

      Which season this episode belongs to

    Returns Episode

Properties

actors

actors: string

leading actors that starred in the movie

country

country: string

countries this movie was released in

director

director: string

the directors of the movie

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

rated

rated: string

what the movie was rated in its country of release

rating

rating: number

the rating as it appears on imdb

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

title

title: string

the title of the movie in English

type

type: string

type of media (see RequestType)

votes

votes: string

votes received on imdb

writer

writer: string

writers of the movie

year

year: number

year the movie was released

Generated using TypeDoc