Skip to content

Commit 8c607a7

Browse files
author
Alvaro Navarro
committed
Update README.rst
- Add list of supported endpoints
1 parent d87308a commit 8c607a7

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,47 @@ enable debugging via a parameter on initialization, or using the
189189
log_level='debug'
190190
)
191191
192+
List of supported endpoints
193+
---------------------------
194+
195+
.. code:: py
196+
197+
# Airpot and City Search
198+
# Find all the cities and airportes starting by 'LON'
199+
amadeus.reference_data.locations.get(keyword='LON', subType=Location.ANY)
200+
# Get a specific city or airport based on its id
201+
amadeus.reference_data.location('ALHR').get()
202+
203+
# Aiport Nearest Relevant Airport
204+
amadeus.reference_data.locations.airports.get(longitude=49.000, latitude=2.55)
205+
206+
# Flight Cheapest Date Search
207+
amadeus.shopping.flight_dates.get(origin='NCE', destination='PAR', duration=1)
208+
209+
# Flight Checkin Links
210+
amadeus.reference_data.urls.checkin_links.get(airline='LH')
211+
212+
# Flight Inspiration Search
213+
amadeus.shopping.flight_destinations.get(origin='MAD', maxPrice=200)
214+
215+
# Flight Low-fare Search
216+
amadeus.shopping.flight_offers.get(origin='MAD', destination='OPO', "2017-04-20')
217+
218+
# Flight Most Searched Destinations
219+
amadeus.travel.analytics.fare_searches.get(origin='NCE', sourceCountry='FR', period='2017-08')
220+
221+
# Flight Most Traveled Destinations
222+
amadeus.travel.analytics.air_traffic.traveled.get(origin='NCE', period='2017-08')
223+
224+
# Hotel Search API
225+
# List of Hotels by City Code
226+
amadeus.shopping.hotel_offers.get(cityCode = 'PAR')
227+
# Get list of offers for a specific Hotel
228+
amadeus.shopping.hotel('SMPARCOL').hotel_offers.get()
229+
# Confirm the availability of a specific offer for a specific Hotel
230+
amadeus.shopping.hotel('SMPARCOL').offer('4BA070BA10485322FA2C7E78C7852E').get()
231+
232+
192233
Development & Contributing
193234
--------------------------
194235

0 commit comments

Comments
 (0)