I manually logged a couple of ficticious activities to fitbit.com and when I call
/1/user/-/activities/tracker/minutesVeryActive/date/today/1w.json
they are counted.
But when I call either of
/1/user/-/activities/tracker/steps/date/today/1w.json
/1/user/-/activities/tracker/distance/date/today/1w.json
they are ignored (as expected).
From the docs, https://wiki.fitbit.com/display/API/API-Get-Time-Series
"2. activities/tracker/... resources represent the daily activity values logged by the tracker device only, excluding the manual activity log entries."
So do some activities/tracker/... resources include manually logged data?
Is this a bug or am I missing something?
Answered! Go to the Best Answer.
Best Answer
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.
It appears that
/1/user/-/activities/heart/date/today/1w.json
ignores manually logged activities.
From the docs I would have expected it's endpoint to be under "tracker" instead.
/1/user/-/activities/tracker/heart/date/today/1w.json
Fitbit folks, can you confirm the api behavior?
Thanks,
Jon
Best Answer
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.
There is no manual logging of heart rate in a time series manner.
Best AnswerOK, thanks.
Any thoughts on my first question?
I'd really like activities/tracker/minutes... without the manually logged activities.
Thanks again,
Jon
Best AnswerAny comment on my receiving manually logged data when I call the following?
/1/user/-/activities/tracker/minutesVeryActive/date/today/1m.json
Best AnswerI am also looking at getting only tracker data using /1/user/-/activities/tracker/, and I too noticed just about 10 minutes ago that /1/user/-/activities/tracker/minutesVeryActive/ returns minutes accrued in a manually logged run as well as those accrued by my tracker (a Zip, in my case).
My Zip has recorded 13 very active minutes today. If I manually log a run that is 20 minutes long, /1/user/-/activities/tracker/minutesVeryActive/ returns a total of 35 very active minutes when I think it should only return the 13 recorded on my Zip.
I verfied this happens outside of my app using a traffic sniffer on a monitored port (Wireshark).
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.
I have verified the behavior is incorrect. We will fix it in the near future.
Best AnswerI am pulling the timeseries activities/minutesVeryActive. The values returned do not match the active min. shown on my dashboard. Is this a related issue? If not, what api call do I use to get active min. as displayed on the dashboard?
Best Answer
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.
@afroman: "Active minutes" in the Fitbit apps is a sum of activities/minutesFairlyActive and activities/minutesVeryActive.
Best Answer
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.