Hi,
I am testing building an app for Fitbit and was wondering if there is any API that provides me with the current statistics of Swimming. That is, is it possible to get the "laps" in real time, for example, with the specified API?
Thank you.
You can use the excercise API to find the information you need.
https://dev.fitbit.com/build/reference/device-api/exercise/
If you continualsly request the lap information then it will update in realtime or you can set it to trigger when a lap is finished using onstatechange
Best Answer