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

Acceleration in python

Hi, 

Currently, I'm doing a research about using the Fitbit Charge 4 or the Fitbit Versa 4. I want to have the sensor acceleration data (x,y,z). I know I can access this with device API and java script (https://dev.fitbit.com/getting-started/) ( https://github.com/gondwanasoft/fitbit-accel-fetcher). But is there also a way to do this in python (like the web API)? This would make it a lot easier to access the data. 

I saw something with this code:  /1/user/[user-id]/devices/[device-id]/accelerometer/date/[date]/[end-date].json. Does someone has experience with this? 

Thank you for helping me! 

Best Answer
1 REPLY 1

I don't think that accelerometer data is synced (because there's a vast amount of it), so it isn't available from the Web API.

 

It will be possible on Versa 4 after Fitbit releases the SDK for it, but you'll need to use JavaScript code to collect the data in the watch and pass it through the companion (phone) to your app (server).

 

It isn't possible for Charge 4 because that watch can't run third-party software.

Peter McLennan
Gondwana Software
Best Answer
0 Votes