Weather-Station-Software / live-weather-station

Display on your WordPress site, in many elegant ways, the meteorological data collected by public or personal weather stations.
https://weather.station.software/
GNU General Public License v2.0
7 stars 2 forks source link

Add support for Openweathermap 3.0 API #45

Open atmovantage opened 2 months ago

atmovantage commented 2 months ago

According to OpenWeatherMap they are deprecating API version 2.5 this month, June 2024. I noticed in the files /includes/libraries/owm/OWMApiClient.php that all the URL references for OWM use the old 2.5 API calls. Could you please update OWM to use the new 3.0 API?

https://openweathermap.org/api/one-call-api