Running this script will automatically check you into your flight 24 hours before your flight
First, download the script onto your computer
$ git clone https://github.com/jdholtz/auto-southwest-check-in.git
$ cd auto-southwest-check-in
Then, install the needed packages for the script
$ pip install -r requirements.txt
To schedule a check-in, run the following command
$ python3 southwest.py CONFIRMATION_NUMBER FIRST_NAME LAST_NAME
Alternatively, you can log in to your account, which will automatically check you in to all of your flights
$ python3 southwest.py USERNAME PASSWORD
To set up a configuration file, copy config.example.json
to config.json
.
Users can be notified on successful and failed check-ins. This is done through the Apprise library. To start, first gather the service url you want to send notifications to (information on how to create service urls can be found on the Apprise Readme). Then put it in your configuration file.
{
"notification_urls": "service://my_service_url"
}
If you have more than one service you want to send notifications to, you can put them in an array:
{
"notification_urls": [
"service://my_first_service_url",
"service://my_second_service_url"
]
}
You can also select the level of notifications you want to receive.
{
"notification_level": 1
}
Level 1 means you receive successful scheduling and check-in messages and all messages in later levels.
Level 2 means you receive only error messages (failed scheduling and check-ins).
To test if the notification urls work, you can run the following command
$ python3 southwest.py --test-notifications