ReviewSection

tmdb-js/sections/types. ReviewSection

A class that represents the review section in TMDb.

Constructor

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

getReview(id) → {exports.Review}

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