03-31-2021 07:47
03-31-2021 07:47
Hi:
I am working on accessing the FitBit activities, and can't find a list of all the distanceUnits that might be associated with an activity. I know that there are Kilometer and Mile, are there any others? Is there documentation that contains an exhaustive list?
Thanks,
Joe
04-13-2021 14:18
04-13-2021 14:18
Hi @jcelano,
Welcome to the forums!
You can find a list of units here. Depending on what metric system the user selected during account creation, the units returned for that metric system will always be returned by default. When you include the accept-language header with the desired unit system in your requests, you'll be returned with that unit system instead of the user's default selection.
I hope this helps. Let me know if you have any additional questions.