Learn R Programming

TMDb (version 1.1)

tv_images: Retrieve TV series images.

Description

Get the images (posters and backdrops) for a TV series.

Usage

tv_images(api_key, id, language = NA, include_image_language = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The TV series ID.

language

A ISO 639-1 code.

include_image_language

A comma separated, a valid ISO 69-1. Maximum 5 per request.

Value

A list with the following fields:

id

The TV show ID.

backdrops

The backdrops of the TV show.

posters

Heigth, width, votes of the images of the TV show.

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"

tv_images(api_key = api_key, id = 1396)
# }

Run the code above in your browser using DataLab