@@ -212,11 +212,11 @@ List of supported endpoints
212212 amadeus.shopping.flight_dates.get(origin = ' MAD' , destination = ' MUC' )
213213
214214 # Flight Low-fare Search
215- amadeus.shopping.flight_offers.get(origin = ' MAD' , destination = ' NYC' , departureDate = ' 2019-08 -01' )
215+ amadeus.shopping.flight_offers.get(origin = ' MAD' , destination = ' NYC' , departureDate = ' 2020-06 -01' )
216216
217217 # Flight Choice Prediction
218- result = amadeus.shopping.flight_offers.get(origin = ' MAD' , destination = ' NYC' , departureDate = ' 2019-08 -01' ).result
219- amadeus.shopping.flight_offers.prediction.post(result )
218+ body = amadeus.shopping.flight_offers.get(origin = ' MAD' , destination = ' NYC' , departureDate = ' 2020-10 -01' ).result
219+ amadeus.shopping.flight_offers.prediction.post(body )
220220
221221 # Flight Checkin Links
222222 amadeus.reference_data.urls.checkin_links.get(airlineCode = ' BA' )
@@ -252,9 +252,9 @@ List of supported endpoints
252252 # Get list of Hotels by city code
253253 amadeus.shopping.hotel_offers.get(cityCode = ' LON' )
254254 # Get list of offers for a specific hotel
255- amadeus.shopping.hotel_offers_by_hotel.get(hotelId = ' IALONCHO ' )
255+ amadeus.shopping.hotel_offers_by_hotel.get(hotelId = ' BGLONBGB ' )
256256 # Confirm the availability of a specific offer
257- amadeus.shopping.hotel_offer(' D5BEE9D0D08B6678C2F5FAD910DC110BCDA187D21D4FCE68ED423426D0A246BB ' ).get()
257+ amadeus.shopping.hotel_offer(' 8123DD9DE5102DADF5DA3B55C8C575F54114336EE718578753888747FE0652FC ' ).get()
258258
259259 # Hotel Ratings
260260 # What travelers think about this hotel?
@@ -270,11 +270,11 @@ List of supported endpoints
270270 amadeus.travel.predictions.trip_purpose.get(originLocationCode = ' ATH' , destinationLocationCode = ' MAD' , departureDate = ' 2020-08-01' , returnDate = ' 2020-08-12' , searchDate = ' 2020-06-11' )
271271
272272 # Flight Delay Prediction
273- amadeus.travel.predictions.flight_delay.get(originLocationCode = ' BRU ' , destinationLocationCode = ' FRA ' , departureDate = ' 2020-01-14 ' , \
274- departureTime = ' 11:05 :00' , arrivalDate = ' 2020-01-14 ' , arrivalTime = ' 12:10 :00' , aircraftCode = ' 32A ' , carrierCode = ' LH ' , flightNumber = ' 1009 ' , duration = ' PT1H05M ' )
273+ amadeus.travel.predictions.flight_delay.get(originLocationCode = ' NCE ' , destinationLocationCode = ' IST ' , departureDate = ' 2020-08-01 ' , \
274+ departureTime = ' 18:20 :00' , arrivalDate = ' 2020-08-01 ' , arrivalTime = ' 22:15 :00' , aircraftCode = ' 321 ' , carrierCode = ' TK ' , flightNumber = ' 1816 ' , duration = ' PT31H10M ' )
275275
276276 # Airport On-Time Performance
277- amadeus.airport.predictions.on_time.get(airportCode = ' JFK' , date = ' 2020-03 -01' )
277+ amadeus.airport.predictions.on_time.get(airportCode = ' JFK' , date = ' 2020-09 -01' )
278278
279279 # AI Generated Photos
280280 amadeus.media.files.generated_photos.get(category = ' MOUNTAIN' )
@@ -292,12 +292,12 @@ List of supported endpoints
292292 amadeus.travel.trip_parser_jobs.result(response.data[' id' ]).get()
293293
294294 # Flight Offers Search GET
295- amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-05 -01' , adults = 1 )
295+ amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-07 -01' , adults = 1 )
296296 # Flight Offers Search POST
297297 amadeus.shopping.flight_offers_search.post(body)
298298
299299 # Flight Offers Price
300- flights = amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-05 -01' , adults = 1 ).data
300+ flights = amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-07 -01' , adults = 1 ).data
301301 amadeus.shopping.flight_offers.pricing.post(flights[0 ])
302302 amadeus.shopping.flight_offers.pricing.post(flights[0 :2 ], include = ' credit-card-fees,other-services' )
303303
@@ -327,6 +327,6 @@ to help you. You can find us on `StackOverflow <htps://stackoverflow.com/questio
327327.. |Maintainability | image :: https://api.codeclimate.com/v1/badges/c2e19cf9628d6f4aece2/maintainability
328328 :target: https://codeclimate.com/github/amadeus4dev/amadeus-python/maintainability
329329.. |Dependencies | image :: https://raw.githubusercontent.com/amadeus4dev/amadeus-python/master/.github/images/dependencies.svg?sanitize=true
330- :target: ttps ://badge.fury.io/py/amadeus
330+ :target: https ://badge.fury.io/py/amadeus
331331.. |Contact Support | image :: https://raw.githubusercontent.com/amadeus4dev/amadeus-python/master/.github/images/support.svg?sanitize=true
332332 :target: http://developers.amadeus.com/support
0 commit comments