Skip to content

A booking subscription service for training centers in Trondheim

Notifications You must be signed in to change notification settings

mbheir/autotrening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autotrening.sexy

Automatic training center bookings during covid

Description

During covid, most training centers in Trondheim were completely overbooked due to hard limits on the number of people that were allowed to train simultaneously. Training time windows became available on the booking system 48 hours in advance, and would quickly fill up. This meant regular training at the center required you to always be ready on the booking page when a new time window became available. I quickly found this process could be automated and so I made a small solution that would save me time every day, and that friends could use as well.

The Autotrening.sexy service would let you set up a subscription of a few sessions per week through a website, and then it would automatically book you to the specified sessions. The subscription would go on until changed or cancelled.

Booking page

Screenshot 2021-08-13 at 09 56 59

Status page

Screenshot 2021-08-13 at 09 56 59

How it works

The user fills out a form on the website and presses submit. A http post request is then sent to the backend python server. The entries is then written to a simple database. Another thread is periodically waking up from sleep to perform concurrent booking of the selected entries in the database. It parses the booking website for a key to the specific session and sends concurrent http post requests to perform the accreditation and the booking.

About

A booking subscription service for training centers in Trondheim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages