movie: Retrieve movie informations.

Description Usage Arguments Value Author(s) References Examples

View source: R/movie.R

Description

Get the basic movie information for a specific movie id.

Usage

1
movie(api_key, id, language = NA, append_to_response = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The movie ID.

language

A ISO 639-1 code.

append_to_response

Comma separated, any movie method.

Value

A list with the following fields:

adult

A logical value that indicates if a movie is only for adult people (TRUE) or not (FALSE).

backdrop_path

The backdrop of the movie.

belong_to_collection

The collections to which the movie belongs.

budget

The budget for the movie.

genres

The movie's genre.

homepage

The movie's homepage.

id

The movie ID.

imdb_id

The movie imdb ID.

original_language

The original language of the movie.

original_title

The original title of the movie.

overview

A brief plot.

popularity

An index of the movie's popularity.

poster_path

The poster of the movie.

production_companies

The producer companies.

production_countries

The countries involved in the production.

release_data

The data of the release.

revenue

The movie's income.

runtime

The length of the movie.

spoken_language

The language spoken in the movie.

status

The movie's status.

tagline

The movie's tagline.

title

The movie's title.

video

The videos associated to the movie.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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"

movie(api_key = api_key, id = 550, language = "it")

## End(Not run) 

TMDb documentation built on March 17, 2020, 1:06 a.m.

Related to movie in TMDb...