01-27-2023 11:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-27-2023 11:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
01-30-2023 10:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-30-2023 10:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

