Skip to content

Commit eb4a036

Browse files
authored
Merge pull request #100 from amadeus4dev/fix-parameter-names
Fix parameter names
2 parents 062f338 + 20649e2 commit eb4a036

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

amadeus/shopping/_flight_offers_search.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ def get(self, **params):
99
.. code-block:: python
1010
1111
amadeus.shopping.flight_offers_search.get(
12-
origin='MAD',
13-
destination='NYC',
14-
departureDate='2019-08-01',
12+
originLocationCode='MAD',
13+
destinationLocationCode='BOS',
14+
departureDate='2019-11-01',
1515
adults='1'
1616
)
1717
18-
:param origin: the City/Airport IATA code from which the flight will
19-
depart. ``"MAD"``, for example for Madrid.
18+
:param originLocationCode: the City/Airport IATA code from which
19+
the flight will depart. ``"MAD"``, for example for Madrid.
2020
21-
:param destination: the City/Airport IATA code to which the flight is
22-
going. ``"BOS"``, for example for Boston.
21+
:param destinationLocationCode: the City/Airport IATA code to
22+
which the flight is going. ``"BOS"``, for example for Boston.
2323
2424
:param departureDate: the date on which to fly out, in `YYYY-MM-DD`
2525
format

0 commit comments

Comments
 (0)