03-03-2021 01:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-03-2021 01:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I try to use https://api.fitbit.com/1/user/-/activities/list.json? to extract distance data per activity type.
It looks like on the same user, I have activities with the same activityTypeId, but with no "distance",
and "distanceUnit" keys specified.
I need your help to identify when does keys are included and how can I calculate distance per activity.
Best regards

03-10-2021 16:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



03-10-2021 16:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @RazvanIacobescu,
Welcome to the forums!
Can you tell me what the activityTypeId is for the activity you're tracking distance for? Or provide me with a snippet of JSON response you're seeing with the missing data?

