Learn R Programming

TMDb (version 1.1)

configuration: Get the system wide configuration information.

Description

This method currently holds the data relevant to building image URLs as well as the change key map.

Usage

configuration(api_key)

Arguments

api_key

Your TMDb Consumer Key.

Value

The data provided with this method is required for building full image URLs, or getting a list of available image sizes.

Details

To build an image URL, you will need 3 pieces of data. The base_url, size and file_path. Simply combine them all and you will have a fully qualified URL.

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"

configuration(api_key = api_key)
# }

Run the code above in your browser using DataLab