diff --git a/test1copy.js b/test1copy.js deleted file mode 100644 index d443dfa..0000000 --- a/test1copy.js +++ /dev/null @@ -1,40 +0,0 @@ -var Amadeus = require('./lib/amadeus'); - -var amadeus = new Amadeus({ - clientId: '8nO6oq4ywwDlqZG3btuBy7bkSoAjZGdn', - clientSecret: 'BJyF3fvNG9frmkAE', - logLevel: 'debug' -}); - -body = { - "originDestinations": [ - { - "id": "1", - "originLocationCode": "BOS", - "destinationLocationCode": "MAD", - "departureDateTime": { - "date": "{{departureDate}}", - "time": "21:15:00" - } - } - ], - "travelers": [ - { - "id": "1", - "travelerType": "ADULT" - }, - { - "id": "2", - "travelerType": "CHILD" - } - ], - "sources": [ - "GDS" - ] -} - -amadeus.shopping.availability.flightAvailabilities.post(body).then(function (response) { - console.log(response); -}).catch(function (response) { - console.error(response); -}); \ No newline at end of file