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

Clockface: Access incoming calories from Fitbit App

ANSWERED

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

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6
Best Answer
0 Votes

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

Best Answer
0 Votes

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

Thanks Jon,

 

I will give it a try.

Best Answer
0 Votes

Can the watch make web API requests, or does the request have to be made by a companion app?

Best Answer
0 Votes

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