Script that can search for and book a selected UCD gym slot.
Disclaimer: The script is just for educational purposes and I cannot be held responsible for any repercussions of using or attempting to use this script.
If you want to run the code make sure you have a file called .env
in the same directory as the script. The .env file should be formatted like
#.env
STUDENT_NUMBER=YOUR STUDENT NUMBER HERE
Use pip install [module]
to install the required modules.
Use python3 script.py
to start the script. Follow the instructions in the terminal. You must leave the terminal instance running for it to work. This means that whatever device being used must not be turned off before the script books a slot if you want it to work. You mustn't closet the terminal instance either. Either leave the terminal open in the background or use a program such as tmux to create an terminal instance.