PureGym API wrapper powered by Deno. Underlying API reverse engineered on a jailbroken iPhone with the official PureGym app
Live information about the number of people at a specific gym, if id isn't provided it will automatically select your home gym
GET /count?email=[email]&pin=[pin]&id=[gym-id]Get string of the gym access QR Code, you can use this to generate an access QR Code with something like Siri Shortcuts
GET /qrcode?email=[email]&pin=[pin]- Use an app like SuperWidget to display your gym's live count on your home screen as a widget
- Use Siri Shortcuts to generate a QR Code for your gym access
The API does not store any data as it generates a new access token for every request and attempts to tell PureGym to invalidate it after the request is complete.
However, your email and pin are both sent in plain text same as PureGym's official API so there isn't much of a different, nothing we can do about that.
Deno Deploy is the easiest way to deploy this API, but you can use any other service that supports Deno.
You might have to change the project ID in deno.json to your own but running deno task deploy should work right away as long as
deployctl is installed
- palera1n for the jailbreak, jailbreak done on an old iPhone 7
- SSL Kill Switch 3 for making it easy to disable SSL Pinning on a jailbroken iPhone
- Proxyman for intercepting HTTP requests remotely on a Mac
