Mapping between API response and weather icons
I am using windy API for a custom weather forecast widget. How can I map the response data to the weather summary icon (cloudy, sunny, rainy, etc)? I can't find anything related in the API docs.
Hello @sdolotom. Are you referring to ptype parameter? If so, check Parameters section of docs https://api.windy.com/point-forecast/docs#parameters
ptypegives the precipitation info, yes. But how do I e.g. derive the cloud cover summary from the three values
hclouds? I mean, how to convert them to "cloudy", "partly cloudy" etc?
@sdolotom There is no only right way to do so. You could perhaps have a look at what meteoblue has to say about this topic (section Quantification of cloud cover) https://content.meteoblue.com/en/specifications/weather-variables/clouds