10-24-2017 15:25 - edited 10-24-2017 22:43
10-24-2017 15:25 - edited 10-24-2017 22:43
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.
10-25-2017 07:16
10-25-2017 07:16
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
10-24-2017 16:36
10-24-2017 22:41
10-24-2017 22:41
Thanks 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
10-25-2017 07:16
10-25-2017 07:16
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
10-25-2017 15:08
10-25-2017 15:08
Thanks Jon,
I will give it a try.
11-05-2017 16:27
11-05-2017 16:27
Can the watch make web API requests, or does the request have to be made by a companion app?
11-06-2017 06:13
11-06-2017 06:13
@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.