cyberjunky / python-garminconnect

Python 3 API wrapper for Garmin Connect to get activity statistics
MIT License
964 stars 149 forks source link

Question - how do I get my goals #79

Closed johnnychicago closed 2 years ago

johnnychicago commented 2 years ago

Hello -- My apologies, I am not smart around this. I usually manage to grep, awk and sed my way through to get a datapoint out of a scraped webpage or similar. I installed and ran the test program just fine. What I am after is the contents of my goals, as on https://connect.garmin.com/modern/goals. I've been trying different variations of calls to get them, but no luck. Anybody care to give a hint, please? Many thanks :)

cyberjunky commented 2 years ago

I haven't found a working API call yet.

dpfrakes commented 2 years ago

I took a stab at this, seems to be working for me :grin: https://github.com/cyberjunky/python-garminconnect/pull/97

cyberjunky commented 2 years ago

@johnnychicago thanks to @dpfrakes this is now included in version 0.1.49!