DiscoverMovieSettings

tmdb-js/sections/types. DiscoverMovieSettings

A class that represents the discover settings for movies.

Constructor

new DiscoverMovieSettings()

Source:

Methods

setCertification(certification)

Sets the value of the certification parameter.
Source:
Parameters:
Name Type Description
certification string The parameter value.

setCertificationCountry(country)

Sets the value of the certification_country parameter.
Source:
Parameters:
Name Type Description
country string The parameter value.

setCertificationGte(limit)

Sets the value of the certification.gte parameter ("gte" stands for "greater than or equal to").
Source:
Parameters:
Name Type Description
limit string The parameter value.

setCertificationLte(limit)

Sets the value of the certification.lte parameter ("lte" stands for "less than or equal to").
Source:
Parameters:
Name Type Description
limit string The parameter value.

setIncludeAdult(includeAdult)

Sets the value of the include_adult parameter.
Source:
Parameters:
Name Type Description
includeAdult boolean The parameter value.

setIncludeVideo(includeVideo)

Sets the value of the include_video parameter.
Source:
Parameters:
Name Type Description
includeVideo boolean The parameter value.

setPrimaryReleaseYear(year)

Sets the value of the primary_release_year parameter.
Source:
Parameters:
Name Type Description
year Number The parameter value.

setPrimaryReleaseYearGte(limit)

Sets the value of the primary_release_year.gte parameter ("gte" stands for "greater than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setPrimaryReleaseYearLte(limit)

Sets the value of the primary_release_year.lte parameter ("lte" stands for "less than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setRegion(region)

Sets the value of the region parameter.
Source:
Parameters:
Name Type Description
region string The parameter value.

setReleaseDateGte(limit)

Sets the value of the release_date.gte parameter ("gte" stands for "greater than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setReleaseDateLte(limit)

Sets the value of the release_date.lte parameter ("lte" stands for "less than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setVoteAverageLte(limit)

Sets the value of the vote_average.lte parameter ("lte" stands for "less than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setVoteCountLte(limit)

Sets the value of the vote_count.lte parameter ("lte" stands for "less than or equal to").
Source:
Parameters:
Name Type Description
limit Number The parameter value.

setWithCast(…personIds)

Sets the value of the with_cast parameter based on the passed person IDs. This will determine which cast members to include in the discover results.
Source:
Parameters:
Name Type Attributes Description
personIds string <repeatable>
The person IDs.

setWithCrew(…personIds)

Sets the value of the with_crew parameter based on the passed person IDs. This will determine which crew members to include in the discover results.
Source:
Parameters:
Name Type Attributes Description
personIds string <repeatable>
The person IDs.

setWithPeople(…personIds)

Sets the value of the with_people parameter based on the passed person IDs. This will determine which people to include in the discover results.
Source:
Parameters:
Name Type Attributes Description
personIds string <repeatable>
The person IDs.

setWithReleaseType(withReleaseType)

Sets the value of the with_release_type parameter.
Source:
Parameters:
Name Type Description
withReleaseType string The parameter value.

setYear(year)

Sets the value of the year parameter.
Source:
Parameters:
Name Type Description
year Number The parameter value.