Learn R Programming

TMDb (version 1.1)

person_images: Retrieve person images.

Description

Get the images for a specific person id.

Usage

person_images(api_key, id)

Arguments

api_key

Your TMDb Consumer Key.

id

The person ID.

Value

A list with the following fields:

id

The person ID.

profiles

The images of the person.

References

https://developers.themoviedb.org/3/getting-started

Examples

Run this code
# 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_images(api_key = api_key, id = 287)
# }

Run the code above in your browser using DataLab