03-25-2023 09:39
03-25-2023 09:39
I know that calling https://api.fitbit.com/1/user/-/body/log/weight/date/${date}.json returns the weight logs for the specified date, but I have this scenario:
if I logged a weight on a specific date, perhaps 8 days ago, and I ask fitbit API what my weight was a week ago (7 days), even though there was no log for this day, I'd want it to return the log from the day before.
If not, what's the most efficient way to get this information from the API
04-03-2023 12:39
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.
04-03-2023 12:39
Hi @adjstreams
To get your current weight from the last weigh-in, try the Get Body Time Series endpoint and specify the resource "weight".
Gordon
Best Answer