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

Double counting steps

We are using two end-points to get both activities and steps.

 

/1/user/-/activities/list.json

Gives us activities (beforeData + limit=7 for one week's data)

 

/1/user/-/activities/tracker/steps/date/today/7d.json

Gives us steps (also one week)

 

Sadly, the activities contain all the steps that the summary also contains, so now we have double steps. Is there a way to prevent that? It's not quite as simple like subtracting steps, as work-outs can easily start and end on multiple dates: Quite a few people go for a run before they go to bed.

 

 

 

 

 

Best Answer
0 Votes
1 REPLY 1

The only way to do this would be to use the intraday time series endpoints to sum the steps in minutes that were inside and outside of an exercise log.

Best Answer
0 Votes