class Tmdb::Find
- Tmdb::Find
- Reference
- Object
Defined in:
find.crClass Method Summary
-
.find(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(MovieResult | Tv::ShowResult | PersonResult)
The find method makes it easy to search for objects in our database by an external id.
-
.find_movie(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(MovieResult)
See
#find
-
.find_person(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(PersonResult)
See
#find
-
.find_tv_show(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(Tv::ShowResult)
See
#find
Class Method Detail
def self.find(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(MovieResult | Tv::ShowResult | PersonResult)
#
The find method makes it easy to search for objects in our database by an external id.
This method will search all objects (movies, TV shows and people) and return the results in a single response.
The supported external sources for each object are as follows.
- IMDb
- TVDb
def self.find_movie(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(MovieResult)
#
See #find
def self.find_person(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(PersonResult)
#
See #find
def self.find_tv_show(external_id : String, external_source : ExternalSource, language : String | Nil = nil, skip_cache : Bool = false) : Array(Tv::ShowResult)
#
See #find