KeywordSection

tmdb-js/sections/types. KeywordSection

A class that represents the keyword section in TMDb.

Constructor

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

getKeyword(id) → {exports.Keyword}

Gets the keyword with the passed id.
Source:
Parameters:
Name Type Description
id string The id of the keyword to get.
Returns:
Type:
exports.Keyword
A Keyword object with the passed id.