smj10j / SouthwestCheckin

πŸ›« Python script to checkin to a Southwest Flight πŸ›¬

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SW Checkin

Build Status Maintainability Test Coverage Docker Build Status Docker Image Size

This python script checks your flight reservation with Southwest and then checks you in at exactly 24 hours before your flight. Queue up the script and it will sleep until the earliest possible check-in time.

Contributors

Requirements

This script can either be ran directly on your host or within Docker.

Host

  • Python (should work with 2.x or 3.x thanks to @ratabora)
  • pip

Docker

  • Docker (tested with 1.12.6)

Setup

Host

Install Base Package Requirements

pip3 install -r requirements.txt

Usage (Basic)

python3 ./checkin.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME

Usage (Keep alive)

caffeinate -s python3 checkin.py --verbose ...

Usage (Multiple)

Add the confirmation numbers and passenger names in start.js

node start.js

Run the tests

python3 -m pytest tests/

Docker

Usage

$ sudo docker run -it pyro2927/southwestcheckin:latest CONFIRMATION_NUMBER FIRST_NAME LAST_NAME

About

πŸ›« Python script to checkin to a Southwest Flight πŸ›¬

License:GNU General Public License v3.0


Languages

Language:Python 89.9%Language:JavaScript 5.6%Language:Makefile 2.3%Language:Dockerfile 1.3%Language:Shell 0.8%