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])


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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