Skip to content

A python script that automatically checks in to your Southwest flight 24 hours beforehand.

License

Notifications You must be signed in to change notification settings

andrewcchu/auto-southwest-check-in

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Southwest Check-In

Running this script will automatically check you into your flight 24 hours before your flight

Table of Contents

Installation

Prerequisites

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

Using The Script

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

Configuration

To set up a configuration file, copy config.example.json to config.json.

Notifications

Notification URLs

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"
  ]
}

Notification Level

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).

Test The Notifications

To test if the notification urls work, you can run the following command

$ python3 southwest.py --test-notifications

About

A python script that automatically checks in to your Southwest flight 24 hours beforehand.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%