Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 375 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 375 Bytes

qpxjs

Javascript library for google's qpx express api.

WIP!!! Not yet usable, api will change!.

current working example:

const API_KEY = 'your key';
const q = qpx(API_KEY);
q.fields.passengers.adults(1);
q.fields.fare
  .from("LHR").to("CDG").on("2015-08-08")
  .after('18:00').before('23:59');
q.fields.price.amount(200);
q.fields.country.set('GB');
q.search();