Tmdb::Find
Inherits Reference < Object
Class methods
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
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