company_movies {TMDb}R Documentation

Retrieve movies of a company.

Description

Get the list of movies associated with a particular company.

Usage

company_movies(api_key, id, page = 1, language = NA, append_to_response = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The company ID.

page

The number of the page to show. Minimum 1, maximum 1000.

language

A ISO 639-1 code.

append_to_response

Comma separated, any company method.

Value

A list with the following fields:

id

The company ID.

page

The current page for the results.

results

The company's movies.

total_pages

The number of pages for the results.

total_results

The number of results.

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"

company_movies(api_key = api_key, id = 1, page = 1, language = "it",
append_to_response = "movies")

## End(Not run)

[Package TMDb version 1.1 Index]