Comparing version 1.0.0-beta7 to 1.0.1
# Changelog | ||
## 1.0.1 - 2018-04-19 | ||
Release 1.0.1 | ||
## 1.0.0 - 2018-04-19 | ||
Release 1.0.0 | ||
## 1.0.0-beta7 - 2018-04-19 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "amadeus", | ||
"version": "1.0.0-beta7", | ||
"version": "1.0.1", | ||
"description": "Node library for the Amadeus travel APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/amadeus.js", |
@@ -21,3 +21,3 @@ # Amadeus Node SDK | ||
```sh | ||
npm install amadeus@beta --save | ||
npm install amadeus --save | ||
``` | ||
@@ -188,2 +188,73 @@ | ||
## List of supported endpoints | ||
```js | ||
// Airpot and City Search | ||
// Find all the cities and airportes starting by 'LON' | ||
amadeus.referenceData.locations.get({ | ||
keyword : 'LON', | ||
subType : Amadeus.location.any | ||
}) | ||
// Get a specific city or airport based on its id | ||
amadeus.referenceData.location('ALHR').get() | ||
// Aiport Nearest Relevant Airport | ||
amadeus.referenceData.locations.airports.get({ | ||
longitude : 49.000, | ||
latitude : 2.55 | ||
}) | ||
// Flight Cheapest Date Search | ||
amadeus.shopping.flightDates.get({ | ||
origin : 'NCE', | ||
destination : 'PAR', | ||
duration : 1 | ||
}) | ||
// Flight Checkin Links | ||
amadeus.referenceData.urls.checkinLinks.get({ | ||
airline : 'LH' | ||
}) | ||
// Flight Inspiration Search | ||
amadeus.shopping.flightDestinations.get({ | ||
origin : 'MAD', | ||
maxPrice : 200 | ||
}) | ||
// Flight Low-fare Search | ||
amadeus.shopping.flightOffers.get({ | ||
origin : 'MAD', | ||
destination : 'OPO', | ||
departureDate : '2017-04-20' | ||
}) | ||
// Flight Most Searched Destinations | ||
amadeus.travel.analytics.fareSearches.get({ | ||
origin : 'NCE', | ||
souirceCountry : 'FR', | ||
period : '2017-08' | ||
}) | ||
// Flight Most Traveled Destinations | ||
amadeus.travel.analytics.airTraffic.traveled.get({ | ||
origin : 'NCE', | ||
period : '2017-08' | ||
}) | ||
// Hotel Search API | ||
// List of Hotels by City Code | ||
amadeus.shopping.hotelOffers.get({ | ||
cityCode : 'PAR' | ||
}) | ||
// Get list of offers for a specific Hotel | ||
amadeus.shopping.hotel('SMPARCOL').hotelOffers.get() | ||
// Confirm the availability of a specific offer for a specific Hotel | ||
amadeus.shopping.hotel('SMPARCOL').offer('4BA070BA10485322FA2C7E78C7852E').get() | ||
``` | ||
## Development & Contributing | ||
@@ -190,0 +261,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
209378
1
277