person_tagged_images: Retrieve images related to a person.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/person_tagged_images.R

Description

Get the images that have been tagged with a specific person id.

Usage

1
person_tagged_images(api_key, id, page = 1, language = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The person ID.

page

The number of the page to show. Minimum 1, maximum 1000.

language

A ISO 639-1 code.

Details

Return all of the image results with a media object mapped for each image.

Value

A list with the following fields:

id

The person ID.

page

The current page for the results.

results

Heigth, width, voted of the images related to the person, with a brief description.

total_pages

The number of pages for the results.

total_results

The number of results.

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"

person_tagged_images(api_key = api_key, id = 287)

## End(Not run)

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