class Tmdb::Search

Defined in:

search.cr

Class Method Summary

Class Method Detail

def self.collections(query : String, language : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(CollectionResult) #

Search for collections.


[View source]
def self.companies(query : String, skip_cache : Bool = false) : LazyIterator(CompanyResult) #

Search for companies.


[View source]
def self.keywords(query : String, skip_cache : Bool = false) : LazyIterator(Keyword) #

Search for keywords.


[View source]
def self.movies(query : String, language : String | Nil = nil, include_adult : Bool | Nil = nil, region : String | Nil = nil, year : Int32 | Nil = nil, primary_release_year : Int32 | Nil = nil, skip_cache : Bool = false) : LazyIterator(MovieResult) #

Search for movies.


[View source]
def self.people(query : String, language : String | Nil = nil, include_adult : Bool | Nil = nil, region : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(PersonResult) #

Search for people.


[View source]
def self.tv_shows(query : String, language : String | Nil = nil, include_adult : Bool | Nil = nil, first_air_date_year : Int32 | Nil = nil, skip_cache : Bool = false) : LazyIterator(Tv::ShowResult) #

Search for a TV show.


[View source]