I’m stuck with the weather app assignment. The app uses the darksky API (https://darksky.net/dev/docs) and it shows the current temperature, the corresponding icon for the weather, location, chance of rain and wind but I don’t know how to get the temperature units from the API (C/F) so that I can convert them, right now it’s set to auto, so it shows the temp in C or F depending on the location but not the units. Does anyone know how to do that? Or maybe an alternative way of going about it?
Thanks in advance
Link to my codepen: