nickneos / pilates_booker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pilates Booker

Overview

To keep the wife happy, I created this script to automatically book in pilates classes at her gym. Apparently it gets super competitive booking in classes which get released at 5am 2 days in advance (the popular classes usually book out within minutes).

I trigger this script at the required time via crontab.

Setup

  1. Create settings.py and add required details (use settings.py.example as a guide)
  2. Create venv eg. python3 -m venv .venv
  3. Activate venv and install requirements:
    source .venv/bin/activate
    pip install requirements.txt
  4. (Optional) Schedule wrapper shell script pilates_booker.sh via crontab eg.
    # every 5 minutes 5am-6am
    */5 5 * * *  /path/to/pilates_booker.sh

About


Languages

Language:Python 98.7%Language:Shell 1.3%