Filter and only include movies that have a primary release date that is greater or equal to the specified value.
class Tmdb::Discover::QueryBuilder
- Tmdb::Discover::QueryBuilder
- Reference
- Object
Defined in:
discover.crInstance Method Summary
-
#air_date_gte(air_date_gte : Time)
Filter and only include TV shows that have a air date (by looking at all episodes) that is greater or equal to the specified value.
-
#air_date_lte(air_date_lte : Time)
Filter and only include TV shows that have a air date (by looking at all episodes) that is less than or equal to the specified value.
-
#certification(certification : String)
Filter results with a valid certification from the '#certification_country' field.
-
#certification_country(certification_country : String)
Used in conjunction with the
#certification
filter, use this to specify a country with a valid certification. -
#certification_gte(certification_gte : String)
Filter and only include movies that have a certification that is greater than or equal to the specified value.
-
#certification_lte(certification_lte : String)
Filter and only include movies that have a certification that is less than or equal to the specified value.
-
#first_air_date_gte(first_air_date_gte : Time)
Filter and only include TV shows that have a original air date that is greater or equal to the specified value.
-
#first_air_date_lte(first_air_date_lte : Time)
Filter and only include TV shows that have a original air date that is less or equal to the specified value.
-
#first_air_date_year(first_air_date_year : Int32)
Filter and only include TV shows that have a original air date year that equal to the specified value.
-
#include_adult(include_adult : Bool)
A filter and include or exclude adult movies.
-
#include_null_first_air_dates(include_null_first_air_dates : Bool)
Use this filter to include TV shows that don't have an air date while using any of the
first_air_date
filters. -
#include_video(include_video : Bool)
A filter to include or exclude videos.
-
#language(language : String)
Specify a language to query translatable fields with.
-
#primary_release_date_gte(primary_release_date_gte : Time)
Filter and only include movies that have a primary release date that is greater or equal to the specified value.
-
#primary_release_date_lte(primary_release_date_lte : Time)
Filter and only include movies that have a primary release date that is less or equal to the specified value.
-
#primary_release_year(primary_release_year : Int32)
A filter to limit the results to a specific primary release year.
-
#region(value : String)
Specify a ISO 3166-1 code to filter release dates.
-
#release_date_gte(release_date_gte : Time)
Filter and only include movies that have a release date that is greater or equal to the specified value.
-
#release_date_lte(release_date_lte : Time)
Filter and only include movies that have a release date that is less or equal to the specified value.
-
#screened_theatrically(screened_theatrically : Bool)
Filter results to include items that have been screened theatrically.
-
#sort_by(sort_by : SortType)
Sort option.
-
#timezone(timezone : String)
Used in conjunction with the
air_date.gte/lte
filter to calculate the proper UTC offset. - #to_filter : FilterFactory::Filter
-
#vote_average_gte(vote_average_gte : Float64)
Filter and only include movies that have a rating count that is greater or equal to the specified value.
-
#vote_count_gte(vote_count_gte : Int64)
Filter and only include movies that have a vote count that is greater or equal to the specified value.
-
#vote_count_lte(vote_count_lte : Int64)
Filter and only include movies that have a vote count that is less or equal to the specified value.
-
#watch_region(watch_region : String)
An ISO 3166-1 code.
-
#with_cast(cast : Int64)
A comma separated list of person ID's.
- #with_cast(cast : Array(Int64))
-
#with_companies(company : Int32)
A comma separated list of production company ID's.
- #with_companies(companies : Array(Int32))
-
#with_crew(crew : Int64)
A comma separated list of person ID's.
- #with_crew(crew : Array(Int64))
-
#with_genres(genre : Int32)
Comma separated value of genre ids that you want to include in the results.
- #with_genres(genres : Array(Int32))
-
#with_keywords(keyword : String)
A comma separated list of keyword ID's.
- #with_keywords(keywords : Array(String))
-
#with_networks(network : String)
Comma separated value of network ids that you want to include in the results.
- #with_networks(networks : Array(String))
-
#with_original_language(with_original_language : String)
Specify an ISO 639-1 string to filter results by their original language value.
-
#with_people(person : Int64)
A comma separated list of person ID's.
- #with_people(persons : Array(Int64))
-
#with_release_type(with_release_type : Int32)
Specify a comma (AND) or pipe (OR) separated value to filter release types by.
-
#with_runtime_gte(with_runtime_gte : Int32)
Filter and only include movies that have a runtime that is greater or equal to a value.
-
#with_runtime_lte(with_runtime_lte : Int32)
Filter and only include movies that have a runtime that is less or equal to a value.
-
#with_watch_monetization_types(with_watch_monetization_types : MonetizationType)
In combination with
#watch_region
, you can filter by monetization type. -
#with_watch_providers(watch_provider : String)
A comma or pipe separated list of watch provider ID's.
- #with_watch_providers(watch_providers : Array(String))
-
#without_keywords(keywords : String)
Exclude items with certain keywords.
-
#year(year : Int32)
A filter to limit the results to a specific year (looking at all release dates).
Instance Method Detail
Filter and only include TV shows that have a air date (by looking at all episodes) that is greater or equal to the specified value.
Filter and only include TV shows that have a air date (by looking at all episodes) that is less than or equal to the specified value.
Filter results with a valid certification from the '#certification_country' field.
Used in conjunction with the #certification
filter, use this to specify
a country with a valid certification.
Filter and only include movies that have a certification that is greater than or equal to the specified value.
Filter and only include movies that have a certification that is less than or equal to the specified value.
Filter and only include TV shows that have a original air date that is
greater or equal to the specified value. Can be used in conjunction with
the #include_null_first_air_dates
filter if you want to include items
with no air date.
Filter and only include TV shows that have a original air date that is
less or equal to the specified value. Can be used in conjunction with
the #include_null_first_air_dates
filter if you want to include items
with no air date.
Filter and only include TV shows that have a original air date year that
equal to the specified value. Can be used in conjunction with the
#include_null_first_air_dates
filter if you want to include items with
no air date.
Use this filter to include TV shows that don't have an air date while
using any of the first_air_date
filters.
Filter and only include movies that have a primary release date that is less or equal to the specified value.
A filter to limit the results to a specific primary release year.
Filter and only include movies that have a release date that is greater or equal to the specified value.
Filter and only include movies that have a release date that is less or equal to the specified value.
Filter results to include items that have been screened theatrically.
Used in conjunction with the air_date.gte/lte
filter to calculate the
proper UTC offset.
default: America/New_York
Filter and only include movies that have a rating count that is greater or equal to the specified value.
Filter and only include movies that have a vote count that is greater or equal to the specified value.
Filter and only include movies that have a vote count that is less or equal to the specified value.
An ISO 3166-1 code. Combine this filter with #with_watch_providers
in
order to filter your results by a specific watch provider in a specific
region.
A comma separated list of person ID's. Only include movies that have one of the ID's added as an actor.
A comma separated list of production company ID's. Only include movies that have one of the ID's added as a production company.
A comma separated list of person ID's. Only include movies that have one of the ID's added as a crew member.
Comma separated value of genre ids that you want to include in the results.
A comma separated list of keyword ID's. Only includes movies that have one of the ID's added as a keyword.
Comma separated value of network ids that you want to include in the results.
Specify an ISO 639-1 string to filter results by their original language value.
A comma separated list of person ID's. Only include movies that have one of the ID's added as an actor or crew member.
Specify a comma (AND) or pipe (OR) separated value to filter release types by. These release types map to the same values found on the movie release date method.
Filter and only include movies that have a runtime that is greater or equal to a value.
Filter and only include movies that have a runtime that is less or equal to a value.
In combination with #watch_region
, you can filter by monetization type.
A comma or pipe separated list of watch provider ID's. Combine this
filter with #watch_region
in order to filter your results by a specific
watch provider in a specific region.
Exclude items with certain keywords. You can comma and pipe seperate these values to create an 'AND' or 'OR' logic.
A filter to limit the results to a specific year (looking at all release dates).