Skip to content

Commit 837fd5a

Browse files
authored
Merge pull request #85 from amadeus4dev/fix-examples
Fix Flight inspiration and cheapest date examples
2 parents 5fb455b + 116d803 commit 837fd5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/flight_cheapest_date_search/flight_cheapest_date_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
try:
66
'''
7-
Find cheapest dates from Madrid to London
7+
Find cheapest dates from Boston to San Francisco
88
'''
9-
response = amadeus.shopping.flight_dates.get(origin='MAD', destination='LON')
9+
response = amadeus.shopping.flight_dates.get(origin='BOS', destination='SFO')
1010
# print(response.data)
1111
except ResponseError as error:
1212
raise error

examples/flight_insipiration_search/flight_inspiration_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
try:
66
'''
7-
Find cheapest destinations from Madrid
7+
Find cheapest destinations from Boston
88
'''
9-
response = amadeus.shopping.flight_destinations.get(origin='MAD')
9+
response = amadeus.shopping.flight_destinations.get(origin='BOS')
1010
# print(response.data)
1111
except ResponseError as error:
1212
raise error

0 commit comments

Comments
 (0)