kiwi-api
v0.3.0
Published
A Node.js wrapper for the Kiwi(Skypicker) API
Downloads
7
Maintainers
Readme
Kiwi(Skypicker) API
Kiwi.com API for Node.js.
Installation
npm install kiwi-api --save
API Documentation
Skypicker.com API on Apiary.com
How to use
import KiwiAPI from 'kiwi-api';
const KiwiClient = new KiwiAPI();
// Get places
KiwiClient.places()
.then(places => console.log(places))
.catch(error => console.log(error));
// Get flights
KiwiClient.flights()
.then(flights => console.log(flights))
.catch(error => console.log(error));