movie_videos {TMDb} | R Documentation |
Retrieve movie videos.
Description
Get the videos (trailers, teasers, clips, etc...) for a specific movie id.
Usage
movie_videos(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:
id |
The movie ID. |
results |
The videos associated with the movie. |
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"
movie_videos(api_key = api_key, id = 578, language = "en", append_to_response = "credits")
## End(Not run)
[Package TMDb version 1.1 Index]