ezekg/swa-dashboard


Dashboard to monitor and receive alerts for changes in Southwest fare prices.

License: MIT

Language: JavaScript


SWA Dashboard

Dashboard to monitor and receive alerts for changes in Southwest fare prices.

image

Why?

I'm a lazy programmer and I wanted to try out blessed. ¯\_(ツ)_/¯

Installation

Since I would rather not get in trouble, you can clone the repo locally and use npm link to use the executable.

cd wherever-you-cloned-it-to
npm link

Usage

It will scrape Southwest's prices every n minutes (n = whatever interval you define via the --interval flag) and compare the results, letting you know the difference in price since the last interval. The default interval is 30 mins.

You may optionally set a --deal-price-threshold flag, which will alert you if the prices fall below the threshold you define. Other than --interval, all other flags are required. I'm lazy, so there is no validation.

swa \
  --from 'DAL' \
  --to 'LGA' \
  --leave-date '11/01/2016' \
  --return-date '11/08/2016' \
  --passengers 2 \
  --deal-price-threshold 50 \ # In dollars (optional)
  --interval 5 # In minutes (optional)

Twilio integration

If you have a Twilio account (I'm using a free trial account) and you've set up a deal price threshold, you can set the following environment vars to set up SMS deal alerts. Just be warned: as long as the deal threshold is met, you're going to receive SMS messages at the rate of the interval you defined. Better wake up and book those tickets!

export TWILIO_ACCOUNT_SID=""
export TWILIO_AUTH_TOKEN=""
export TWILIO_PHONE_FROM=""
export TWILIO_PHONE_TO=""

Project Statistics

Sourcerank 6
Repository Size 43.9 KB
Stars 1,879
Forks 242
Watchers 68
Open issues 14
Dependencies 9
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Zeke Gabrielse

Interesting Forks See all

mweimer/swa-dashboard
Dashboard to monitor and receive alerts for changes in Southwest fare prices
JavaScript - Last pushed - 1 stars
ThatCrazyIrishGuy/ryanair-dashboard
Dashboard to monitor and receive alerts for changes in Ryanair fare prices
JavaScript - Last pushed - 1 stars
kamalh16/swa-dashboard
Dashboard to monitor and receive alerts for changes in Southwest fare prices
JavaScript - Updated - 1 stars
HarrisonB/swa-dashboard
Dashboard to monitor and receive alerts for changes in Southwest fare prices
JavaScript - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-07-25 16:41:59 UTC

Login to resync this repository