Skip to content

Commit d4f2279

Browse files
author
Anthony Roux
committed
#26 - update examples for flight inspiration / flight dates and flight low-fare search
1 parent 86a7f91 commit d4f2279

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

amadeus/shopping/_flight_dates.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ def get(self, **params):
88
99
.. code-block:: python
1010
11-
amadeus.shopping.flight_dates.get(origin='LHR', destination='PAR')
11+
amadeus.shopping.flight_dates.get(origin='NYC', destination='MAD')
1212
1313
:param origin: the City/Airport IATA code from which the flight will
14-
depart. ``"BOS"``, for example for Boston.
14+
depart. ``"NYC"``, for example for New-York.
1515
1616
:param destination: the City/Airport IATA code to which the flight is
17-
going. ``"BOS"``, for example for Boston.
17+
going. ``"MAD"``, for example for Madrid.
1818
1919
:rtype: amadeus.Response
2020
:raises amadeus.ResponseError: if the request could not be completed

amadeus/shopping/_flight_destinations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ def get(self, **params):
88
99
.. code-block:: python
1010
11-
amadeus.shopping.flight_destinations.get(origin='LHR')
11+
amadeus.shopping.flight_destinations.get(origin='LON')
1212
1313
:param origin: the City/Airport IATA code from which the flight will
14-
depart. ``"BOS"``, for example for Boston.
14+
depart. ``"LON"``, for example for London.
1515
1616
:rtype: amadeus.Response
1717
:raises amadeus.ResponseError: if the request could not be completed

amadeus/shopping/_flight_offers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ def get(self, **params):
99
.. code-block:: python
1010
1111
amadeus.shopping.flight_destinations.get(
12-
origin='LHR',
13-
destination='PAR',
14-
departureDate='2017-12-24'
12+
origin='MAD',
13+
destination='NYC',
14+
departureDate='2019-08-01'
1515
)
1616
1717
:param origin: the City/Airport IATA code from which the flight will
18-
depart. ``"BOS"``, for example for Boston.
18+
depart. ``"MAD"``, for example for Madrid.
1919
2020
:param destination: the City/Airport IATA code to which the flight is
2121
going. ``"BOS"``, for example for Boston.

0 commit comments

Comments
 (0)