Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this still work? #1

Open
ReeceGordon opened this issue May 9, 2017 · 4 comments
Open

Does this still work? #1

ReeceGordon opened this issue May 9, 2017 · 4 comments

Comments

@ReeceGordon
Copy link

Does this still work? I can't seem to find any PureGym's that have a /whats-happening page anymore.

@ReeceGordon ReeceGordon changed the title Question Does this still work? May 9, 2017
@4iar
Copy link
Owner

4iar commented May 11, 2017

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.

@parkeyparker
Copy link

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?

@4iar
Copy link
Owner

4iar commented Jun 11, 2017

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.

@p-karanthaker
Copy link

p-karanthaker commented Oct 19, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants