public class Discover extends Object
This allows you to just add the search components you are concerned with
| Constructor and Description |
|---|
Discover() |
| Modifier and Type | Method and Description |
|---|---|
Discover |
certification(String certification)
Only include movies with this certification.
|
Discover |
certificationCountry(String certificationCountry)
Only include movies with certifications for a specific country.
|
Discover |
certificationLte(String certificationLte)
Only include movies with this certification and lower.
|
Discover |
firstAirDateYear(int year)
Filter the air dates that match this year
Expected value is a year.
|
Discover |
firstAirDateYearGte(int year)
Filter the air dates to years that are greater than or equal to this year
|
Discover |
firstAirDateYearLte(int year)
Filter the air dates to years that are less than or equal to this year
|
TmdbParameters |
getParams()
Get the parameters
|
Discover |
includeAdult(boolean includeAdult)
Toggle the inclusion of adult titles
|
Discover |
includeVideo(boolean includeVideo)
Toggle the inclusion of items marked as a video.
|
Discover |
language(String language)
ISO 639-1 code
|
Discover |
page(int page)
Minimum value is 1 if included.
|
Discover |
primaryReleaseYear(int primaryReleaseYear)
Filter the results so that only the primary release date year has this value
|
Discover |
releaseDateGte(String releaseDateGte)
The minimum release to include.
|
Discover |
releaseDateLte(String releaseDateLte)
The maximum release to include.
|
Discover |
sortBy(SortBy sortBy)
Available options are
vote_average.desc vote_average.asc release_date.desc release_date.asc popularity.desc popularity.asc |
Discover |
voteAverageGte(float voteAverageGte)
Only include movies that are equal to, or have a higher average rating than this value
|
Discover |
voteAverageLte(float voteAverageLte)
Only include movies that are less than or equal to this value
|
Discover |
voteCountGte(int voteCountGte)
Only include movies that are equal to, or have a vote count higher than this value
|
Discover |
voteCountLte(int voteCountLte)
Only include movies that are equal to, or have a vote count higher than this value
|
Discover |
withCast(String withCast)
Only include movies that have this person id added as a cast member.
|
Discover |
withCast(WithBuilder withCast)
Only include media that have these person IDs added as cast members.
|
Discover |
withCompanies(String withCompanies)
Filter movies to include a specific company.
|
Discover |
withCompanies(WithBuilder withCompanies)
Filter movies to include a specific company.
|
Discover |
withCrew(String withCrew)
Only include movies that have this person id added as a crew member.
|
Discover |
withCrew(WithBuilder withCrew)
Only include media that have these person IDs added as crew members.
|
Discover |
withGenres(String withGenres)
Only include movies with the specified genres.
|
Discover |
withGenres(WithBuilder withGenres)
Only include movies with the specified genres.
|
Discover |
withKeywords(String withKeywords)
Only include movies with the specified genres.
|
Discover |
withKeywords(WithBuilder withKeywords)
Only include movies with the specified genres.
|
Discover |
withNetworks(String withNetworks)
Filter TV shows to include a specific network.
|
Discover |
withNetworks(WithBuilder withNetworks)
Filter TV shows to include a specific network.
|
Discover |
withPeople(String withPeople)
Only include movies that have these person id's added as a cast or crew member.
|
Discover |
withPeople(WithBuilder withPeople)
Only include movies that have these person id's added as a cast or crew member.
|
Discover |
year(int year)
Filter the results release dates to matches that include this value.
|
public TmdbParameters getParams()
This will be used to construct the URL in the API
public Discover page(int page)
page - public Discover sortBy(SortBy sortBy)
sortBy - public Discover includeAdult(boolean includeAdult)
includeAdult - public Discover includeVideo(boolean includeVideo)
includeVideo - public Discover year(int year)
year - public Discover primaryReleaseYear(int primaryReleaseYear)
primaryReleaseYear - public Discover voteCountGte(int voteCountGte)
voteCountGte - public Discover voteCountLte(int voteCountLte)
voteCountLte - public Discover voteAverageGte(float voteAverageGte)
voteAverageGte - public Discover voteAverageLte(float voteAverageLte)
voteAverageLte - public Discover releaseDateGte(String releaseDateGte)
Expected format is YYYY-MM-DD.
releaseDateGte - public Discover releaseDateLte(String releaseDateLte)
Expected format is YYYY-MM-DD.
releaseDateLte - public Discover certificationCountry(String certificationCountry)
When this value is specified, 'certificationLte' is required.
A ISO 3166-1 is expected
certificationCountry - public Discover certificationLte(String certificationLte)
Expected value is a valid certification for the specified 'certificationCountry'.
certificationLte - public Discover certification(String certification)
certification - public Discover withCast(String withCast)
withCast - public Discover withCast(WithBuilder withCast)
withCast - public Discover withCrew(String withCrew)
withCrew - public Discover withCrew(WithBuilder withCrew)
withCrew - public Discover withCompanies(String withCompanies)
withCompanies - public Discover withCompanies(WithBuilder withCompanies)
withCompanies - public Discover withGenres(String withGenres)
Expected value is an integer (the id of a genre).
Multiple values can be specified.
Comma separated indicates an 'AND' query, while a pipe (|) separated value indicates an 'OR'
withGenres - public Discover withGenres(WithBuilder withGenres)
withGenres - public Discover withKeywords(String withKeywords)
withKeywords - public Discover withKeywords(WithBuilder withKeywords)
withKeywords - public Discover withPeople(String withPeople)
withPeople - public Discover withPeople(WithBuilder withPeople)
withPeople - public Discover firstAirDateYear(int year)
year - public Discover firstAirDateYearGte(int year)
year - public Discover firstAirDateYearLte(int year)
year - public Discover withNetworks(String withNetworks)
withNetworks - public Discover withNetworks(WithBuilder withNetworks)
withNetworks - Copyright © 2012–2017. All rights reserved.