08-01-2022 06:13
08-01-2022 06:13
Using the Web API, various calls will include a 'distance' attribute value.
However, I can't find a way of determining the unit of distance, whether the value represents miles or kilometres.
Any suggestions?
08-04-2022 15:15
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
08-04-2022 15:15
Hi @IanHayes,
The distance traveled for the day displayed in the activity is defined by the Accept-Language header. You can also use the Get Profile endpoint to see what unit preference the Fitbit user selected by locating the distanceUnit element in the response.
I hope this helps. Let me know if you have any other questions.
Best Answer