Show HN: Weather API for non-commercial use
I've investigated and tried several (free) weather API's for my web app: <a href="https://uw.leftium.com" rel="nofollow">https://uw.leftium.com</a>.<p>Open-Meteo looks pretty good! The only thing that seems to be missing for me is precipitation probability. The weathercode is sort of a proxy for this... I'm also interested in sunrise/sunset times; direct_radiation is kind of a proxy for this.<p>Kudos for providing optional historical data with the same API call for the forecast. Many weather API's don't provide historical data, and even if they do, it requires extra calls. My weather app charts the previous two days of weather with the forecast for comparison. I feel this gives a more intuitive sense of the weather vs. raw numbers because weather is very relative. ("Warm" vs "cool" depends on your location and season.)<p>In addition, I am in the process of adding AQI forecasts, which requires even more network calls. It seems like this is on the roadmap for open-meteo. I was surprised to find there are so many different standards for AQI. Curious to know which one you plan to use.<p>One possible suggestion for optimizing the output format: sending seconds since the Unix epoch would save a few bytes per timestamp. I'm not sure if this would make any noticeable difference with gzip compression. The current datetime format is much more human-readable and may save a conversion before displaying.<p>These were the best (free) weather API's I could find. It's interesting how the three different weather forecasts can disagree so much:<p>- <a href="https://openweathermap.org/api" rel="nofollow">https://openweathermap.org/api</a><p>- <a href="https://www.visualcrossing.com/weather-api" rel="nofollow">https://www.visualcrossing.com/weather-api</a><p>- <a href="https://darksky.net/dev" rel="nofollow">https://darksky.net/dev</a> (deprecated)<p>When I find the time, I will add open-meteo as to my app! I'll probably have more feedback then.