Skip to content

teneightfive/gymbox-class-booker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gymbox Class Booker

Book classes programatically so you can sleep

setup

You need phantommjs installed for this to run - install with

npm install phantomjs -g

Environment variables

Variable Description
USERNAME Username used to login to Gymbox
PASSWORD Password used to login to Gymbox
SCHEDULE JSON schedule for the classes to book

Example JSON Schedule

The schedule JSON uses days of the week as root-level keys which contain an array of classes. Each class has a Name key which is the name of the class and a StartTime key which is the 24hr class time

{
  "Tuesday": [
    {
      "Name": "Bike & Beats",
      "StartTime": "07:00"
    },
    {
      "Name": "Tour De Victoria",
      "StartTime": "12:00"
    }
  ],
  "Thursday": [
    {
      "Name": "Hatha Yoga",
      "StartTime": "13:00"
    },
    {
      "Name": "Ripped & Stripped",
      "StartTime": "17:30"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%