EDIT:
Latest files:
Latest json export JS script (2021-03-20): https://pastebin.com/K7QEHYAD
Latest json-to-csv conversion jq script (2021-03-20): https://pastebin.com/sw3Eh3w8
Latest changes:
- Add scorecardURL…
Hello, it is such a great what you provided - it works just fantastic and I even managed to modify "golf-export" script to add some more details to CSV ;-)
As I am not so fluent with json scripts…
Once again, thank you so much for great help. This is now fulfilling my needs perfectly. I would like to offer a beer if possible for such great and perfect support.
Once again, thank you so much for great help. This is now fulfilling my needs perfectly. I would like to offer a beer if possible for such great and perfect support.
Hi WillNorthYork. Thank you for the script, it's great. Unfortunately the link to the json data does not seem to be working anymore (this one: https://connect.garmin.com/modern/proxy/gcs-golfcommunity/api/v2/scorecard/summary?per-page=10000). Are you experiencing the same or is it just me?
Thanks
Hi WillNorthYork. Thank you for the script, it's great. Unfortunately the link to the json data does not seem to be working anymore (this one: https://connect.garmin.com/modern/proxy/gcs-golfcommunity/api/v2/scorecard/summary?per-page=10000). Are you experiencing the same or is it just me?
To be clear, I don't really expect directly clicking on that link to work properly. It *may* work under some circumstances, but it would be best to just use the script, imo.
The script still works for me.
What's the exact steps you're using to run the script?
Hi Will,
Thank you so much for answering. I was not actually running the script. I was directly downloading manually the json, directly pasting the link into the address bar was working for me until some months ago. I will follow the instructions in your thread to execute the script. Thanks again for your great work and fro taking the time to respond.
Best
Santiago
This is awesome! Thanks for putting this together, as I have been wanting this data out of Garmin since the start.
I added a little bit to also include the Shot-by-Shot data for each hole played as I want to do some per club analysis that Garmin currently doesn't offer. A rough cut is at https://gist.github.com/gsingers/cb64b4a66a0d53917eb5e849a5343286. It assumes you have shot data, like from the CT10 or by hand. If others find this useful, happy to figure out better formatting of it.
NOTE: I have not tested this with the conversion to CSV code here, so caveat emptor.
Next up, I'd love to figure out how to put this into Google Sheets and automate it.
I've added it. See https://gist.github.com/gsingers/cb64b4a66a0d53917eb5e849a5343286. Still working on aspects of it, though. Will post when done.
OK, so I've probably spent more time than I should on this, but it's been fun. I created a Github repo of all my additions to this. They are at https://github.com/gsingers/garmin_golf. YMMV for now. I have not documented it all yet, but the code now does all the things of the original plus downloads club and shot-by-shot data for CT10 users. I've also added a number of jq scripts. I use these to upload to Google Sheets, so I'll probably add some more scripts for Google to this repo at some point.
OK, OK, OK...
I'm a total noob regarding everything you wrote, but somehow I managed to downolad the data I was looking for thanks to you and rwillnorthyork.
I'm mostly interested in clubs data and the stats on the garmin golf app or website is really bad. I have a 318 meters shot with a PW for instance and I can't correct it. Getting all that nice data in a nice layout would be great. I'm going to look into the garmin developpers forum, learn the langauge, learn python and in maybe 12 years, I'll come up with a nice app with all data from garmin and trackman so you'll know exactly what you length is on the course.
Thanks again for this. If by any chance there was a way to get a nice excel or google sheet spreadsheet with all clubs and their data by a click of a button, that would be great...