0.2.0 • Published 9 years ago

yolo-tips v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

yolo-tips

Cheap Flight Suggester, that suggests you weekend trips based on the cheapest deals it finds using SkyScanner.

cli

usage

npm install yolo-tips -g

yolo-tips --origin LIS --weeks 2 --max 50

available options

-c, --currency       currency
-w, --weeks          weeks
-o, --origin         origin
-d, --destination    destination
-m, --max            max price

module

const yolo = require('yolo-tips')

const options = {
  origin: 'LIS',
  weeks: 2,
  max: 500,
  destination: 'EVERYWHERE'
}

yolo(options, (err, results) => {
  if (err) {
    return console.error(err)
  }

  console.log(JSON.stringify(data, null, 2))
})