collection_images {TMDb} | R Documentation |
Retrieve images of a collection.
Description
Get all of the images for a particular collection by collection id.
Usage
collection_images(api_key, id, language = NA, append_to_response = NA,
include_image_language = NA)
Arguments
api_key |
Your TMDb Consumer Key. |
id |
The collection ID. |
language |
A ISO 639-1 code. |
append_to_response |
Comma separated, any collection method. |
include_image_language |
Comma separated, a valid ISO 69-1. Maximum 5 per request. |
Details
When include_image_language is present, the API will make an additional request behind the scenes to fetch the data you're asking for.
Value
A list with the following fields:
id |
The collection ID. |
backdrops |
The backdrops of the collection. |
posters |
Heigth, width, votes of the images of the collection. |
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"
collection_images(api_key = api_key, id = 10, language = "it", include_image_language = "it")
## End(Not run)
[Package TMDb version 1.1 Index]