GuestSessionSection

tmdb-js/sections/types. GuestSessionSection

A class that represents the guest session section in TMDb.

Constructor

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

getGuestSession(id)

Gets a GuestSession object with the passed id.
Source:
Parameters:
Name Type Description
id string The guest session id.