Learn R Programming

TMDb (version 1.1)

person_popular: Retrieve the popular people.

Description

Get the list of popular people on TMDb.

Usage

person_popular(api_key, page = 1)

Arguments

api_key

Your TMDb Consumer Key.

page

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

Value

A list with the following fields:

page

The current page for the results.

results

The most popular people, with a brief description.

total_pages

The number of pages for the results.

total_results

The number of results.

Details

This list refreshes every day.

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_popular(api_key = api_key)
# }

Run the code above in your browser using DataLab