Skip to content

Instantly share code, notes, and snippets.

@masselmello
masselmello / rsg_group_mcfit_high5_johnreed_capacity_widget.js
Last active October 24, 2024 14:01
iOS widget powered by the Scriptable app that shows the current capacity of your McFit gym (RSG group)
/**
* Script for scriptable to get the current capacity of McFit Gyms
*/
let gymId = 1731068920
let param = args.widgetParameter
if (param != null && param.length > 0) {
gymId = param
}
const currentGymCapacity = await fetchGymCapacity(gymId)