tv {TMDb}R Documentation

Retrieve TV informations.

Description

Get the primary information about a TV series by id.

Usage

tv(api_key, id, language = NA, append_to_response = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The TV series ID.

language

A ISO 639-1 code.

append_to_response

Comma separated, any TV series method.

Value

A list with the following fields:

backdrop_path

The backdrop of the TV show.

created_by

The author of the TV show.

episode_run_time

The length of an episode.

first_air_date

The first day when TV show begun.

genres

The TV show's genre.

homepage

The TV show's homepage.

id

The TV show ID.

in_production

A logical value that indicates if a TV shows is in production (TRUE) or not (FALSE).

languages

A list of available languages.

last_air_date

The last day when TV show ended.

name

The TV show name.

networks

The companies involved with the TV show.

number_of_episodes

The number of episodes of the TV show.

number_of_seasons

The number of seasons of the TV show.

origin_country

The country where TV show is produced.

original_language

The original language of the TV show.

original_name

The original name of the TV show.

overview

A brief plot.

popularity

An index of the TV show's popularity.

poster_path

The poster of the TV show.

production_companies

The producer companies.

seasons

The TV show's seasons.

status

The TV show's status.

type

The TV show's type.

vote_average

The average of the votes.

vote_count

The number of votes.

Author(s)

Andrea Capozio

References

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

Examples

## 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(api_key = api_key, id = 1396)

## End(Not run) 

[Package TMDb version 1.1 Index]