Skip to contents

Retrieve one or more movie's release information, including the release date, country code (two letter, e.g. us), and the certification (e.g. PG).

Usage

movies_releases(id, country = NULL)

Source

movies_releases() wraps endpoint movies/:id/releases/:country.

Arguments

id

character(1): The ID of the item requested. Preferably the trakt ID (e.g. 1429). Other options are the trakt.tv slug (e.g. "the-wire") or imdb ID (e.g. "tt0306414"). Can also be of length greater than 1, in which case the function is called on all id values separately and the result is combined. See vignette("finding-things") for more details.

country

Optional two letter country code to filter by. See trakt_countries for a table of country codes.

Value

A tibble(). If the function has a limit parameter (defaulting to 10), this will be the (maximum) number of rows of the tibble. If there are no results (or the API is unreachable), an empty tibble() is returned.

Examples

if (FALSE) {
movies_releases("tron-legacy-2010")
}