CompanySection

tmdb-js/sections/types. CompanySection

A class that represents the company section in TMDb.

Constructor

new CompanySection(apiKey, language)

Initializes this object.
Source:
Parameters:
Name Type Default Description
apiKey string The TMDb API key.
language string en-US The language of queries, the default is "en-US".

Methods

getCompany(id) → {exports.Company}

Gets the company with the passed id.
Source:
Parameters:
Name Type Description
id string The id of the review to get.
Returns:
Type:
exports.Company
A Company instance with the passed id.