A tiny CLI utility used to book workout sessions at one of the gym chains in Sweden (STC) to avoid having to use their mobile app.
Two env variables need to be provided, STC_TOKEN
(JWT auth token) and CLUBS
(comma-delimited list of club IDs). Both of these values can be intercepted using a mitm proxy (such as Charles or Proxyman).
To install dependencies:
bun install
To run:
bun run index.ts