Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

activities/list.json not containing distance data

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 Answer
0 Votes
1 REPLY 1

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
0 Votes