CreditSection

tmdb-js/sections/types. CreditSection

A class that represents the credit section in TMDb.

Constructor

new CreditSection(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

getCredit() → {exports.Credit}

Gets the credit with the passed id.
Source:
Returns:
Type:
exports.Credit
A Credit instance with the passed id.