Skip to content

Commit

Permalink
Add support for Flight Price Analysis API (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Navarro authored Nov 10, 2020
1 parent 087b5d9 commit fd50f52
Show file tree
Hide file tree
Showing 7 changed files with 10,788 additions and 92 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ amadeus.shopping.flightOffersSearch.get({
console.log(responseError.code);
});
```
Examples
--------------------------

## Examples

You can find all the endpoints in self-contained [code examples](https://github.com/amadeus4dev/amadeus-code-examples).

## Initialization
Expand Down Expand Up @@ -230,7 +231,7 @@ amadeus.shopping.flightOffersSearch.get({
console.log(responseError);
});

// Flight Offers Price
// Flight Offers
amadeus.shopping.flightOffersSearch.get({
originLocationCode: 'SYD',
destinationLocationCode: 'BKK',
Expand Down Expand Up @@ -476,6 +477,13 @@ amadeus.referenceData.recommendedLocations.get({
travelerCountryCode: 'FR'
})

// Price Flight Analysis
amadeus.analytics.itineraryPriceMetrics.get({
originIataCode: 'MAD',
destinationIataCode: 'CDG',
departureDate: '2021-03-13',
})

```
## Development & Contributing
Expand Down
Loading

0 comments on commit fd50f52

Please sign in to comment.