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

Example format for get_activity(id) response? #237

Closed
LilDinker opened this issue Nov 26, 2024 · 1 comment
Closed

Example format for get_activity(id) response? #237

LilDinker opened this issue Nov 26, 2024 · 1 comment

Comments

@LilDinker
Copy link

So I'm running into the same issue as you guys that was mentioned here. However, I am using this for a school project, and had saved the metadata for a successfully logged in Garmin object to a db, and thought I could use that to try and still make progress while we wait for a fix.

Unfortunately, the result of garmin.get_activity(id) (an id that was previously attained from a get_activities_by_date call) along with any other call is an empty array.

All that to say, does anyone have any data on hand for what fields a return value for get_activity() would look like? I'd like to still do work on my project while we wait for a garth fix.

I am sure the documentation exists somewhere but I just dont know where to look.

Thanks in advance!

@psdupvi
Copy link
Contributor

psdupvi commented Nov 26, 2024

I believe it looks something like this:

sample_activity.json

This is for a run. Hopefully I've removed all my info.

You can actually see your specific info if you use the Network tab on your browser, if you know how to do that.

Firefox as an example:

image

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

2 participants