Learn R Programming

TMDb (version 1.1)

person_tmdb: Retrieve person information.

Description

Get the general person information for a specific id.

Usage

person_tmdb(api_key, id, append_to_response = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The person ID.

append_to_response

Comma separated, any person method.

Value

A list with the following fields:

adult

A logical value that indicates if a person plays movie for adult (TRUE) or not (FALSE).

also_known_as

The artistic name.

biography

The person's biography.

birthday

The person's birthday.

deathday

The person's (eventual) deathday.

homepage

The person's homepage.

id

The person ID.

imdb_id

The person imdb id.

name

The person's name.

place_of_birth

Where the person was born.

popularity

An index of the person's popularity.

profile_path

The person's profile path.

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_tmdb(api_key = api_key, id = 287, append_to_response = "latest")
# }

Run the code above in your browser using DataLab