collection_images: Retrieve images of a collection.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/collection_images.R

Description

Get all of the images for a particular collection by collection id.

Usage

1
2
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

 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"

collection_images(api_key = api_key, id = 10, language = "it", include_image_language = "it")

## End(Not run)    

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

Related to collection_images in TMDb...