Skip to content

Commit bd1adf4

Browse files
authored
Merge pull request #93 from amadeus4dev/fix-outdated-dates-readme
Update outdated dates on readme
2 parents 8ddafe8 + a5020c1 commit bd1adf4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ FlightDate[] flightDates = amadeus.shopping.flightDates.get(Params
182182
FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.get(
183183
Params.with("originLocationCode", "SYD")
184184
.and("destinationLocationCode", "BKK")
185-
.and("departureDate", "2020-11-01")
186-
.and("returnDate", "2020-11-08")
185+
.and("departureDate", "2021-04-01")
186+
.and("returnDate", "2021-04-08")
187187
.and("adults", 2)
188188
.and("max", 3));
189189

@@ -209,8 +209,8 @@ FlightPrice[] flightPricing = amadeus.shopping.flightOffersSearch.pricing.post(
209209
FlightOfferSearch[] flightOffers = amadeus.shopping.flightOffersSearch.get(
210210
Params.with("originLocationCode", "NYC")
211211
.and("destinationLocationCode", "MAD")
212-
.and("departureDate", "2020-11-01")
213-
.and("returnDate", "2020-11-09")
212+
.and("departureDate", "2021-04-01")
213+
.and("returnDate", "2021-04-08")
214214
.and("adults", 1));
215215

216216
// Using a JSonObject
@@ -326,7 +326,7 @@ Activity activity = amadeus.shopping.activity("4615").get();
326326
// What's the likelihood flights from this airport will leave on time?
327327
Prediction AirportOnTime = amadeus.airport.predictions.onTime.get(Params
328328
.with("airportCode", "NCE")
329-
.and("date", "2020-09-01"));
329+
.and("date", "2021-04-01"));
330330

331331
// What's the likelihood of a given flight to be delayed?
332332
Prediction[] flightDelay = amadeus.travel.predictions.flightDelay.get(Params
@@ -365,8 +365,8 @@ GeneratedPhoto photo = amadeus.media.files.generatedPhotos.get(Params
365365
Prediction tripPurpose = amadeus.travel.predictions.tripPurpose.get(Params
366366
.with("originLocationCode", "NYC")
367367
.and("destinationLocationCode", "MAD")
368-
.and("departureDate", "2020-08-01")
369-
.and("returnDate", "2020-08-12"));
368+
.and("departureDate", "2021-04-01")
369+
.and("returnDate", "2021-04-08"));
370370

371371
// Travel Recommendations
372372
Location destinations = amadeus.referenceData.recommendedLocations.get(Params

0 commit comments

Comments
 (0)