Skip to content

Commit 9a5fbff

Browse files
authored
Update README
Remove example of Flight Low-fare Search / Change the first example from Checkin link to Flight Offers Search
1 parent 2632d76 commit 9a5fbff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ application.
4444
)
4545
4646
try:
47-
response = amadeus.reference_data.urls.checkin_links.get(airlineCode='BA')
47+
response = amadeus.shopping.flight_offers_search.get(originLocationCode='SYD', destinationLocationCode='BKK', departureDate='2020-07-01', adults=1)
4848
print(response.data)
4949
except ResponseError as error:
5050
print(error)
@@ -234,9 +234,6 @@ List of supported endpoints
234234
# Flight SeatMap Display POST
235235
amadeus.shopping.seatmaps.post(body)
236236
237-
# Flight Low-fare Search
238-
amadeus.shopping.flight_offers.get(origin='MAD', destination='NYC', departureDate='2020-06-01')
239-
240237
# Flight Choice Prediction
241238
body = amadeus.shopping.flight_offers.get(origin='MAD', destination='NYC', departureDate='2020-10-01').result
242239
amadeus.shopping.flight_offers.prediction.post(body)

0 commit comments

Comments
 (0)