03-03-2021 01:20
03-03-2021 01:20
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
Best Answer03-10-2021 16:28
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
03-10-2021 16:28
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?
Best Answer