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

which api do I call for these values?

I am currently using this:

response = z.ApiCall(token, "/1.2/user/-/foods/log/date/"+today_date+".json")

and it's returning 0 and 1909 calories.  Do you know which  file and specifically which values to retrieve the calorie in (479 calories) and calories left (1536)?  I've searched and I can't find the right ones.

 

calincalout.jpeg

Best Answer
0 Votes
1 REPLY 1

Hi @teltech84123 

 

Version 1.2 of the Get Food Log endpoint is not supported.   We only support version 1.2 for the sleep endpoints.   Would you please test the correct syntax and let me know if you get the same value?

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes