1.0.5 • Published 7 years ago

google-flights-wrapper v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

#Google Flights Wrapper

Installation

npm install google-flights-wrapper

Usage

var qpx = require('google-flights-wrapper')(API_KEY_HERE);

qpx.api("1", "EUR5000", "1", "DUB", "GDN", "2016-12-14", function(data){
  //data looks like: [ { airline: 'SK', price: 'EUR71.10' } ]
});

Api Parameters:

adultCount: The number of adults going on the trip.
maxPrice: The max price for the trip. Note: Must be prefixed with currency i.e. EUR.
solutions: The number of possible routes the API should return.
origin: The origin airport code.
destination: The destination airport code.
date: The date of the flight.
fn: A function to access the API response.
1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago