Class: Crawlora::BookingGroup

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

Instance Method Summary collapse

Constructor Details

#initializeBookingGroup

Returns a new instance of BookingGroup.

Parameters:

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


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

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

Instance Method Details

#attractions_detailObject

Parameters:

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

Returns:

  • (Object)


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

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

#attractions_reviewsObject

Parameters:

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

Returns:

  • (Object)


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

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

#attractions_searchObject

Parameters:

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

Returns:

  • (Object)


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

def attractions_search: (?query: String, ?start_date: String, ?end_date: String, ?page: Integer, ?limit: Integer, ?category: String, ?subcategory: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#flights_autocompleteObject

Parameters:

  • query: (String)
  • type: ("to", "from")
  • origin: (String)
  • origin_type: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def flights_autocomplete: (?query: String, ?type: "to" | "from", ?origin: String, ?origin_type: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#flights_searchObject

Parameters:

  • type: ("ROUNDTRIP", "ONEWAY")
  • from: (String)
  • to: (String)
  • from_country: (String)
  • to_country: (String)
  • depart: (String)
  • return: (String)
  • adults: (Integer)
  • children: (Integer)
  • cabin_class: (String)
  • sort: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def flights_search: (?type: "ROUNDTRIP" | "ONEWAY", ?from: String, ?to: String, ?from_country: String, ?to_country: String, ?depart: String, ?return: String, ?adults: Integer, ?children: Integer, ?cabin_class: String, ?sort: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#hotel_detailObject

Parameters:

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

Returns:

  • (Object)


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

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

#reviewsObject

Parameters:

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

Returns:

  • (Object)


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

def reviews: (?hotel_id: Integer, ?destination_id: Integer, ?hotel_country_code: String, ?hotel_score: Float, ?search_text: String, ?page: Integer, ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#searchObject

Parameters:

  • query: (String)
  • checkin: (String)
  • checkout: (String)
  • adults: (Integer)
  • rooms: (Integer)
  • children: (Integer)
  • page: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def search: (?query: String, ?checkin: String, ?checkout: String, ?adults: Integer, ?rooms: Integer, ?children: Integer, ?page: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped