Skip to content

Commit 4618dd7

Browse files
authored
Merge pull request #1 from anthonyroux/fix_examples_readme
Update the examples in the README.MD
2 parents 58b0fb4 + fd2c277 commit 4618dd7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ CheckinLink[] checkinLinks = amadeus.referenceData.urls.checkinLinks.get(Params
212212

213213
// Airport & City Search (autocomplete)
214214
// Find all the cities and airports starting by the keyword 'Lon'
215-
Locations[] locations = amadeus.referenceData.locations.get(Param
215+
Location[] locations = amadeus.referenceData.locations.get(Params
216216
.with("keyword", "lon")
217217
.and("subType", Locations.ANY));
218218

@@ -221,14 +221,14 @@ Location location = amadeus.referenceData
221221
.location("ALHR").get();
222222

223223
// Airport Nearest Relevant
224-
Locations[] locations = amadeus.referenceData.locations.airports.get(Params
225-
.with("longitude", 49.0000)
226-
.and("latitude", 2.55));
224+
Location[] locations = amadeus.referenceData.locations.airports.get(Params
225+
.with("latitude", 49.0000)
226+
.and("longitude", 2.55));
227227

228228
// Flight Most Searched Destinations
229229
FareSearch[] fareSearches = amadeus.travel.analytics.fareSearches.get(Params
230-
.with("origin", "NCE")
231-
.and("sourceCountry", "FR")
230+
.with("origin", "SFO")
231+
.and("sourceCountry", "US")
232232
.and("period", "2017-08"));
233233

234234
// Flight Most Traveled Destinations

0 commit comments

Comments
 (0)