Learn R Programming

TMDb (version 1.1)

genres_tv_list: Retrieve the available genres for TV shows.

Description

Get the list of TV genres.

Usage

genres_tv_list(api_key, language = NA)

Arguments

api_key

Your TMDb Consumer Key.

language

A ISO 639-1 code.

Value

A single list item, with the following fields:

id

The ID of a TV genre.

name

The name of a TV genre.

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"

genres_tv_list(api_key = api_key, language = "it")
# }

Run the code above in your browser using DataLab