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

Speed per second

How can I find out my speed per second? Anyone has a clue about any API link?

Best Answer
0 Votes
3 REPLIES 3

https://dev.fitbit.com/build/reference/device-api/geolocation/

 

Or, for walking or running, use today.adjusted.distance and divide by the time interval since the previous reading.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks @Gondwana, But we are not developing app for watch, our requirement is that we need running data from watch.

And data frequency we require is distance per second

But Fitbit web API is only providing distance per minute.

Best Answer
0 Votes

If you mean you'd like to update the data every second using an interval: 1) You'd need an API that can stream the data, rather than doing continuous HTTP requests. AFAIK Fitbit (the devices) and the Fitbit API is not intended to be used for this use case, and 2) The only method available in mobile devices that can give you an accurate reading for current speed is through using the GPS chip in the doppler analysis mode, which gives a very accurate speed reading even when the device location is unknown. AFAIK there is no remote API from any provider available in public that provides this data, so if your use case requires recording the speed at a 1 second interval, probably your only option is to create your own mobile application and use the native location API in iOS / Android to get the current speed of the device.

Best Answer
0 Votes