genres_movie_list {TMDb}R Documentation

Retrieve the available genres for movies.

Description

Get the list of movie genres.

Usage

genres_movie_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 movie genre.

name

The name of a movie genre.

Author(s)

Andrea Capozio

References

https://developers.themoviedb.org/3/getting-started

Examples

## 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_movie_list(api_key = api_key, language = "it")

## End(Not run)    

[Package TMDb version 1.1 Index]