Learn R Programming

TMDb (version 1.1)

company: Retrieve informations of a company.

Description

This method is used to retrieve all of the basic information about a company.

Usage

company(api_key, id, append_to_response = NA)

Arguments

api_key

Your TMDb Consumer Key.

id

The company ID.

append_to_response

Comma separated, any company method.

Value

A list with the following fields:

description

A brief description about the company.

headquarters

The headquarters of the company.

homepage

The homepage of the company.

id

The company ID.

logo_path

The path of company's logo

name

The company's name.

parent_company

The associated companies.

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"

company(api_key = api_key , id = 1, append_to_response = "movies")
# }

Run the code above in your browser using DataLab