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

API Swim stats

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.

Best Answer
0 Votes
1 REPLY 1

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
0 Votes