1.1.6 • Published 10 years ago

google-flights-wrapper1 v1.1.6

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

#Google Flights Wrapper1

Installation

npm install google-flights-wrapper1

Usage

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

qpx.api("1", "EUR5000", "1", "DUB", "GDN", "2016-12-14", function(data){
	//data looks like: [ { Destination: , Origin: , airline: 'Name of airline', arrivalTime: 'Arrival Time', departureTime: 'Departure Time', flightNumber: 'Flight Number', price: 'EUR71.10' } ]
	//for connecting flights it is an array of two flight object.
});

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.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago