Learn R Programming

TMDb (version 1.1)

tv_content_ratings: Retrieve rating for a TV series.

Description

Get the content ratings for a specific TV show id.

Usage

tv_content_ratings(api_key, id)

Arguments

api_key

Your TMDb Consumer Key.

id

The TV show ID.

Value

A list with the following fields:

results

The available ratings for the TV show.

id

The TV shows ID.

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_content_ratings(api_key = api_key, id = 1396)
# }

Run the code above in your browser using DataLab