Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 3.12 KB

README.md

File metadata and controls

58 lines (36 loc) · 3.12 KB

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

$ pip install -r requirements.txt

Usage

$ python ./checkin.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME

Docker

Usage

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

update headers.txt

from the network console found in the request to /review when attempting to check in i.e. https://www.southwest.com/air/check-in/review.html?hash=c1faf1f2-7233-403d-a9de-620d54be0820&searchToken=M2dNFOzwvino9s7HerGCzUVT3l3U1f-wqqeE2gidh3LghCHghMXEB6aj5B6R6lnFrg9sXPaiF40ZfBv-2hYOON8hgk4HwhhKEBHyFWQaRTslSmbDXJZ2zsHkP4dsS05-154fTLfjTwPVUAg%3D