Does this still work?
ReeceGordon opened this issue · comments
Does this still work? I can't seem to find any PureGym's that have a /whats-happening page anymore.
Hey @ReeceGordon,
It seems that PureGym no longer provide any data about the number of people in a gym (through /whats-happening), so this script won't work anymore unfortunately.
If you're wanting a day-by-day view of this kind of data you might want to Google your gym to get the Google Places activity data (bottom right graph):
Google hasn't yet provided an official API to access this data though.
Cheers.
Members of a gym can login to the Pure Gym website and that will tell you the current number of people in the gym. I wonder if it would be possible to adapt the script to allow for logging in with your own credentials to access that information?
Didn't know about that. Cheers @parkeyparker!
It should be doable, would need to edit the get_page function to handle authentication and then edit extract_number_of_people to handle the new page structure.
I'm not signed up for PureGym anymore so I can't do much with this, but feel free to send a PR.
Hey @ReeceGordon @4iar @parkeyparker
I've written a Bash script which works with the new PureGym website over at puregym-tracker. Works on Windows, Linux, and OSX. Just need to follow README.MD for a few config steps :)
It doesn't do any of the graphing but I guess you could still use @4iar 's script for that with the CSV generated by mine. Alternatively, there's a few online graphing tools too.
Let me know if it's of any use to you guys!