Learn R Programming

TMDb (version 1.1)

tv_episode_external_ids: Retrieve external ids for a TV episode.

Description

Get the external ids for a TV episode by comabination of a season and episode number.

Usage

tv_episode_external_ids(api_key, id, season_number, episode_number, language = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The TV show ID.

season_number

The season number refered to the TV show ID.

episode_number

The episode number refered to the TV show ID.

language

A ISO 639-1 code.

Value

A list with the following fields:

imdb_id

The TV episode imdb ID.

freebase_mid

The TV episode freebase_mid ID.

freebase_id

The TV episode freebsae ID.

tvdb_id

The TV episode tvdb ID.

tvrage_id

The TV episode tvrage ID.

id

The TV episode TMDb ID.

References

https://developers.themoviedb.org/3/getting-started

Examples

Run this code
# NOT RUN {
## An example of an authenticated request,
## where api_key is fictitious.
## You can obtain your own at https://www.themoviedb.org/documentation/api

api_key <- "key"

tv_episode_external_ids(api_key = api_key, id = 1396, season_number = 4, episode_number = 4)
# }

Run the code above in your browser using DataLab