Skip to content

Automated booking for UCD gym so you don't miss out on the time slot you want.

License

Notifications You must be signed in to change notification settings

ryan597/gymbooking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booking for UCD Gym

Stopped Development, booking of gym was removed after a couple of months and before worked on further functionality

Automated booking for UCD gym so you don't miss out on the time slot you want.

Since reopening of gyms in Ireland (after closure for the Covid19 pandemic) my university gym requires booking the gym.
Booking for each timeslot opens 3 hours before the respective timeslot. This became a problem for me when undergraduates returned and the slots booked out almost instantly (even at 6 in the morning). This program is written to prevent me having to get up at 6am and refreshing my browser just to get a gym slot 3 hours later.


To Do

  • speed up python implementation
  • more options for timeslots
  • GUI

Contents

Gym Booking


1. Environment

Creating a virtual environment to install the dependencies packages is recommended, this can be done with either conda or the python3 venv.

Using conda

conda env create -f environment.yml
conda activate gymbooking

Allow execution of script

To run the script you must first make it executable by using chmod

sudo chmod a+x book.sh

exporting dependencies to yml file

conda env export > environment.yml

2. Booking

To run the script after downloading the repo from github you simply configure the config.json file with your own student number and preferred time slot. Then in the terminal before you want to shutdown your computer you run the script with.

source ./book.sh

About

Automated booking for UCD gym so you don't miss out on the time slot you want.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published