New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amadeus

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amadeus - npm Package Compare versions

Comparing version 1.0.0-beta7 to 1.0.1

8

CHANGELOG.md
# 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 @@

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc