Closed martinberlin closed 4 years ago
We will use mostly the hourly forecast just as we did with DarkSky: https://openweathermap.org/api/hourly-forecast#format
Example call:
http://api.openweathermap.org/data/2.5/forecast?lat=52.5&lon=13.43&APPID=APIKEY&units=metric
Default response type is already JSON
Icons: https://github.com/isneezy/open-weather-icons
To add the icons
<link href="/css/open-weather-icons.css" rel="stylesheet"> <i class="owi owi-01d"></i>
OpenWeather is live today. One thing I miss comparing it to DarkSky is the short day sentence, like "Expected rain from Wed to Sunday" that seems not to be the same in OpenWeather
We will use mostly the hourly forecast just as we did with DarkSky: https://openweathermap.org/api/hourly-forecast#format
Example call:
http://api.openweathermap.org/data/2.5/forecast?lat=52.5&lon=13.43&APPID=APIKEY&units=metric
Default response type is already JSON
Icons: https://github.com/isneezy/open-weather-icons
To add the icons