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

Geo Locations and Time lines with Web API

Hello all,

I have a Google Pixel 2 watch and I has started to use python Web API.
Does the Fitbit Web API support access to geo-location data? If so, could you provide detailed information on how to retrieve this data using the API?
I need something similar to Google Timeline like time and duration spending on Bus, Car or walking and locations of these activities.

Best Answer
0 Votes
2 REPLIES 2

Mistake reply

Best Answer
0 Votes

Hi @dara1400 

The Fitbit Web API will provide the GPS data once the user has completed an activity that was recorded on the device.   You will need to start recording the activity on the device and begin your exercise.  Once the exercise is completed, stop recording, then sync your Google Pixel 2 with the Fitbit mobile application.  When you query the recorded exercises using the Get Activity Log List, you should see the activity appear in the response.  Grab the activity log id and provide it in the Get Activity TCX endpoint request.   The GPS data points should be returned.

If you are looking for something more generic for duration on a bus or car, that doesn't pertain to an activity, you could try searching the Wear OS API.   See if the Map SDK helps you.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes