Hello Dev Community,
I just started to create my own clock face and now I‘m searching for a possibility to read the calories in (which the user can enter in the Fitbit App) within a clockface. I did not find something related in the Device and Companion API.
Do you have any idea?
Best regards,
Grizzi
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.
Do you mean calories from food? You would need to use the Web API to query https://dev.fitbit.com/reference/web-api/food-logging/#get-food-logs
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.
Best AnswerThanks Jon,
I already use
today.adjusted.calories
to display the burned calories. I want to also display the incoming calories that can be tracked in the Fitbit App.
Grizzi
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.
Do you mean calories from food? You would need to use the Web API to query https://dev.fitbit.com/reference/web-api/food-logging/#get-food-logs
Best AnswerCan the watch make web API requests, or does the request have to be made by a companion app?
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.
@Cmspooner wrote:
Can the watch make web API requests, or does the request have to be made by a companion app?
The request always needs to go via the Companion.
Best Answer