Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 945 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 945 Bytes

YASC: Yet Another Southwest Checkin

A Python script for automatically checking into Southwest flights.

Usage:

checkin.py <FIRSTNAME> <LASTNAME> <CONFIRMATIONNUMBER> (<EMAIL>)

Example using crontab for a flight with a departure date of April 20 at 2:20 PM:

$ crontab -l
20 14 19 04 * cd ~/path/to/YASC && python checkin.py Benjamin Gleitzman G78ZOV [email protected] # note checkin date of April 19 for the flight the next day

Extra notes:

  • Requires the excellent Requests library
  • You may optionally provide an email address to send the boarding pass. If you do put your gmail username and password in a file called secret.txt separated by a double pipe character (e.g. [email protected]||password) and then run chmod 600 secret.txt
  • Southwest likes to change their login process rather regularly so YMMV.