decolarjs

0.0.8 • Public • Published

DecolarJS

Installation

npm i decolarjs

Features

Fligths

  • [x] One way
  • [ ] Round trip
  • [ ] Multi city

Accommodations

coming soon

Cars

coming soon

Usage

One Way Fligth Search

	const decolar = require("decolarjs");
	let  origin = "MIA"  // IATA AIRPORT CODE
	let  destination = "LAX"  // IATA AIRPORT CODE
	let  date = "2020-03-10"  // YYYY-MM-DD
	let  options = {
					minResults:  5,
					currency:  "USD"  // Supported Currencies -> BRL ARS USD CLP COP CRC
					} // Optional
	decolar.fligths.oneWay(origin,destination,date,options).then(console.log);

JSON response example HERE

Package Sidebar

Install

npm i decolarjs

Weekly Downloads

7

Version

0.0.8

License

ISC

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • korkron