Class: Crawlora::AgodaGroup

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

Instance Method Summary collapse

Constructor Details

#initializeAgodaGroup

Returns a new instance of AgodaGroup.

Parameters:

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


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

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

Instance Method Details

#activities_searchObject

Parameters:

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

Returns:

  • (Object)


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

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

#activity_detailObject

Parameters:

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

Returns:

  • (Object)


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

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

#flights_itinerary_amenitiesObject

Parameters:

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

Returns:

  • (Object)


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

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

#flights_searchObject

Parameters:

  • origin: (String)
  • destination: (String)
  • departure_date: (String)
  • adults: (Integer)
  • children: (Integer)
  • infants: (Integer)
  • cabin_class: ("Economy", "PremiumEconomy", "Business", "First")
  • page: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def flights_search: (?origin: String, ?destination: String, ?departure_date: String, ?adults: Integer, ?children: Integer, ?infants: Integer, ?cabin_class: "Economy" | "PremiumEconomy" | "Business" | "First", ?page: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#flights_search_locationsObject

Parameters:

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

Returns:

  • (Object)


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

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

#homes_searchObject

Parameters:

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

Returns:

  • (Object)


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

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

#hotel_detailObject

Parameters:

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

Returns:

  • (Object)


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

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

#hotels_searchObject

Parameters:

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

Returns:

  • (Object)


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

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