Class: SacsRuby::API::TopDestinations
- Defined in:
- lib/sacs_ruby/api/top_destinations.rb
Overview
The Top Destinations API retrieves top booked leisure destinations from a given origin and returns them in ascending rank order. The API looks up the traffic volume booked via the Sabre GDS to the top destinations for the previous 2, 8 or 12 weeks. It returns up to 50 results per origin by rank - rank one is most popular; whereas, rank 50 is least popular. Origin can be a multi-airport city (MAC) code, airport code, country code, or all possible origins (domestic and international) combined.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
get, #get, #initialize, #valid?
Constructor Details
This class inherits a constructor from SacsRuby::Base
Instance Method Details
#endpoint_url ⇒ Object
14 15 16 |
# File 'lib/sacs_ruby/api/top_destinations.rb', line 14 def endpoint_url '/v1/lists/top/destinations' end |