Giter Club home page Giter Club logo

southwest-alerts's Introduction

Details

This is an application that can be used to monitor booked southwest flights for price changes. It logs into the accounts credentials are proided for, and checks to see if rebooking the flight would result in a lower price. If a lower price is available it will email you via the mailgun api. It will not automatically rebook the flight for you. You will need to create a free mailgun account to be able to receive the email notifications.

Setup

Option 1 - Run via Docker (recommended)

  1. Install docker (ubuntu, windows, osx)

  2. Create mailgun account

Setup a mailgun account, and create an api key. Use the default mailgun domain (username.mailgun.org), or create a new one for the next step.

  1. Run docker image (replacing everything on the right side of the equal sign with your values). You can add additional username#, password#, email# values as needed for additional southwest accounts.
docker run -e MAILGUN_DOMAIN=??? -e MAILGUN_API_KEY=??? -e USERNAME1=SOUTHWEST_USERNAME -e PASSWORD1=SOUTHWEST_PASSWORD -e EMAIL1=NOTIFICATION_EMAIL xur17/southwest-alerts

Option 2 - Run natively

  1. Pull repository
git clone xur17/southwest-alerts
cd southwest-alerts
  1. Install dependencies
pip3 install -r requirements.txt
  1. Set environment variables (replacing value with the appropriate value)
export MAILGUN_DOMAIN=VALUE
export MAILGUN_API_KEY=VALUE
export USERNAME1=VALUE
export PASSWORD1=VALUE
export EMAIL1=VALUE
  1. Run
python southwestalerts/app.py

southwest-alerts's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.