Class: Crawlora::TmdbGroup

Inherits:
Object
  • Object
show all
Defined in:
sig/crawlora.rbs

Instance Method Summary collapse

Constructor Details

#initializeTmdbGroup

Returns a new instance of TmdbGroup.

Parameters:

  • (Client)
  • (Hash[String, String])


1043
# File 'sig/crawlora.rbs', line 1043

def initialize: (Client, Hash[String, String]) -> void

Instance Method Details

#movieObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1045
# File 'sig/crawlora.rbs', line 1045

def movie: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#movie_listObject

Parameters:

  • category: ("popular", "top_rated", "now_playing", "upcoming")
  • page: (Integer)
  • sort_by: ("popularity.desc", "popularity.asc", "vote_average.desc", "vote_average.asc", "primary_release_date.desc", "primary_release_date.asc", "title.asc", "title.desc")
  • with_genres: (String)
  • original_language: (String)
  • date_from: (String)
  • date_to: (String)
  • min_rating: (Float)
  • max_rating: (Float)
  • min_votes: (Integer)
  • min_runtime: (Integer)
  • max_runtime: (Integer)
  • include_adult: (Boolean)
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1044
# File 'sig/crawlora.rbs', line 1044

def movie_list: (?category: "popular" | "top_rated" | "now_playing" | "upcoming", ?page: Integer, ?sort_by: "popularity.desc" | "popularity.asc" | "vote_average.desc" | "vote_average.asc" | "primary_release_date.desc" | "primary_release_date.asc" | "title.asc" | "title.desc", ?with_genres: String, ?original_language: String, ?date_from: String, ?date_to: String, ?min_rating: Float, ?max_rating: Float, ?min_votes: Integer, ?min_runtime: Integer, ?max_runtime: Integer, ?include_adult: bool, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#personObject

Parameters:

  • id: (String)
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1047
# File 'sig/crawlora.rbs', line 1047

def person: (?id: String, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#person_listObject

Parameters:

  • page: (Integer)
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1046
# File 'sig/crawlora.rbs', line 1046

def person_list: (?page: Integer, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#searchObject

Parameters:

  • query: (String)
  • type: ("movie", "tv", "person")
  • page: (Integer)
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1048
# File 'sig/crawlora.rbs', line 1048

def search: (?query: String, ?type: "movie" | "tv" | "person", ?page: Integer, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#tvObject

Parameters:

  • id: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1050
# File 'sig/crawlora.rbs', line 1050

def tv: (?id: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#tv_listObject

Parameters:

  • category: ("popular", "top_rated", "airing_today", "on_the_air")
  • page: (Integer)
  • sort_by: ("popularity.desc", "popularity.asc", "vote_average.desc", "vote_average.asc", "first_air_date.desc", "first_air_date.asc", "name.asc", "name.desc")
  • with_genres: (String)
  • original_language: (String)
  • date_from: (String)
  • date_to: (String)
  • min_rating: (Float)
  • max_rating: (Float)
  • min_votes: (Integer)
  • min_runtime: (Integer)
  • max_runtime: (Integer)
  • include_adult: (Boolean)
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1049
# File 'sig/crawlora.rbs', line 1049

def tv_list: (?category: "popular" | "top_rated" | "airing_today" | "on_the_air", ?page: Integer, ?sort_by: "popularity.desc" | "popularity.asc" | "vote_average.desc" | "vote_average.asc" | "first_air_date.desc" | "first_air_date.asc" | "name.asc" | "name.desc", ?with_genres: String, ?original_language: String, ?date_from: String, ?date_to: String, ?min_rating: Float, ?max_rating: Float, ?min_votes: Integer, ?min_runtime: Integer, ?max_runtime: Integer, ?include_adult: bool, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped