10-16-2020 07:05
10-16-2020 07:05
I want to retrieve all the data from my tracked exercises for private usage and analysis.
I was expecting that after sending a request to the endpoint below, for example, I would see something like what I see on the "Exercises" screen of the mobile app. However, I do not get any of the running/cycling sessions and it seems I only get walking sessions. Also, it looks like the dates (parameter startTime) do not match those that I can see in the app.
Is this not the correct API endpoint for such a task?
10-19-2020 12:45
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.
10-19-2020 12:45
Hi @orestes1906
The Get Activity Log List endpoint will display all exercises including those that are recorded using SmartTrack. I'm assuming the number of walking exercises you see were auto-generated by Smart Track. You can determine this by seeing if logType=auto-detected. If you parse out the activities where logType=tracker, then you will get a list of exercises that were recorded on the device, unless we auto-detected the run or cycling using SmartTrack.
I see you set the offset=20 in your API call. This is not supported. Please change the offset=0 and try again.
Best Answer