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

c1arkbar/auto-southwest-check-in

 
 

Repository files navigation

Auto-Southwest Check-In

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

This script can also log in to your Southwest account and automatically schedule check-ins as flights are scheduled.

Note: If you are checking into an international flight, make sure to fill out all the passport information beforehand.

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

See Running in Docker for information on how to install and run the script in Docker.

Upgrading

When updating the script, it is important to follow the Changelog for any actions that need to be performed.

To get the script's current version, run the following command:

python3 southwest.py --version

To update the script, simply run:

git pull

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

For the full usage of the script, run:

python3 southwest.py --help

Note: The script will check the entire party in under the same reservation, so there is no need to create more than one instance of the script per reservation.

If you want the latest features of the script, you can use the develop branch (documented changes can be viewed in the Changelog). However, keep in mind that changes to this branch do not ensure reliability.

Running in Docker

The application can also be run in a container using Docker. The Docker repository for this project can be found here. To pull the latest image, run:

docker pull jdholtz/auto-southwest-check-in

To download a specific version, append :vX.X to the end of the image name. You can also append the :develop tag instead to use the latest development version.

To run the image, you can use a command such as:

docker run -d jdholtz/auto-southwest-check-in ARGS

See above for the arguments that can be passed in. You can optionally attach a configuration file to the container by adding the --volume /path/to/config.json:/app/config.json flag before the image name.

Note: The recommended restart policy for the container is on-failed or no

Additional information on the Docker container can be found in the public repository.

Configuration

To use the default configuration file, copy config.example.json to config.json.

For information on how to set up the configuration, see Configuration.md

Note: If you are using Docker, make sure to rebuild the container after editing the configuration file for your changes to be applied.

Troubleshooting

To troubleshoot a problem, run the script with the --verbose flag. This will print all debug messages to stderr.

If you run into any issues, please file it via GitHub Issues. Please attach any relevant logs (found in logs/auto-southwest-check-in.log) to the issue. The logs should not have any personal information but check to make sure before attaching it.

If you have any questions or discussion topics, start a GitHub Discussion.

Contributing

Contributions are always welcome. Please read Contributing.md if you are considering making contributions.

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 99.5%
  • Dockerfile 0.5%