@@ -43,7 +43,7 @@ application <https://developers.amadeus.com/my-apps/>`__.
4343 response = amadeus.shopping.flight_offers_search.get(
4444 originLocationCode = ' SYD' ,
4545 destinationLocationCode = ' BKK' ,
46- departureDate = ' 2020-10 -01' ,
46+ departureDate = ' 2021-04 -01' ,
4747 adults = 1 )
4848 print (response.data)
4949 except ResponseError as error:
@@ -194,12 +194,12 @@ List of supported endpoints
194194 amadeus.shopping.flight_dates.get(origin = ' MAD' , destination = ' MUC' )
195195
196196 # Flight Offers Search GET
197- amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-07 -01' , adults = 1 )
197+ amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2021-04 -01' , adults = 1 )
198198 # Flight Offers Search POST
199199 amadeus.shopping.flight_offers_search.post(body)
200200
201201 # Flight Offers Price
202- flights = amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2020-07 -01' , adults = 1 ).data
202+ flights = amadeus.shopping.flight_offers_search.get(originLocationCode = ' SYD' , destinationLocationCode = ' BKK' , departureDate = ' 2021-04 -01' , adults = 1 ).data
203203 amadeus.shopping.flight_offers.pricing.post(flights[0 ])
204204 amadeus.shopping.flight_offers.pricing.post(flights[0 :2 ], include = ' credit-card-fees,other-services' )
205205
@@ -223,7 +223,7 @@ List of supported endpoints
223223 body = amadeus.shopping.flight_offers_search.get(
224224 originLocationCode = ' MAD' ,
225225 destinationLocationCode = ' NYC' ,
226- departureDate = ' 2020-11 -01' ,
226+ departureDate = ' 2021-04 -01' ,
227227 adults = 1 ).result
228228 amadeus.shopping.flight_offers.prediction.post(body)
229229
@@ -286,7 +286,7 @@ List of supported endpoints
286286 amadeus.safety.safety_rated_location(' Q930400801' ).get()
287287
288288 # Trip Purpose Prediction
289- amadeus.travel.predictions.trip_purpose.get(originLocationCode = ' ATH' , destinationLocationCode = ' MAD' , departureDate = ' 2020-08 -01' , returnDate = ' 2020-08-12 ' , searchDate = ' 2020-06-11 ' )
289+ amadeus.travel.predictions.trip_purpose.get(originLocationCode = ' ATH' , destinationLocationCode = ' MAD' , departureDate = ' 2021-04 -01' , returnDate = ' 2021-04-08 ' )
290290
291291 # Flight Delay Prediction
292292 amadeus.travel.predictions.flight_delay.get(originLocationCode = ' NCE' , destinationLocationCode = ' IST' , departureDate = ' 2020-08-01' , \
0 commit comments