0.0.8 • Published 4 years ago

decolarjs v0.0.8

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

DecolarJS

Installation

npm i decolarjs

Features

Fligths

  • 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

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago