07-25-2021 15:46
07-25-2021 15:46
Hello, I receive a number when calling the weather condition. Now I know normally weather api's return a number which represents the weather condition which can then be associated with an icon. Is there any reference for which condition each number represents? So e.g. I get number 18 instead of text saying 'ClearNight'.
Thanks
Best Answer07-25-2021 15:51
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
07-25-2021 15:51
Ideally, you should be able to import the WeatherCondition enum and use it.
However, I think the enum export may be missing in the sim and (maybe) Android, so that may not work everywhere yet.
Best Answer07-26-2021 09:24
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.
07-26-2021 09:24
Thanks for raising this. There's seems to be an anomaly between Android and iOS and we're investigating.