OpenWeather's One Call 3.0 API changed element "timezone_offset" to "timezone". The changes to OpenWeather.cpp are: 62,62c61,62 < String url = "https://api.openweathermap.org/data/3.0/onecall?lat=" + latitude + "&lon=" + longitude + "&exclude=minutely" + exclude + "&units=" + units + "&lang=" + language + "&appid=" + api_key; --- > String url = "https://api.openweathermap.org/data/2.5/onecall?lat=" + latitude + "&lon=" + longitude + "&exclude=minutely" + exclude + "&units=" + units + "&lang=" + language + "&appid=" + api_key; 519c518 < if (currentKey == "timezone") timezone = value; --- > if (currentKey == "timezone_offset") timezone = value;
OpenWeather's One Call 3.0 API changed element "timezone_offset" to "timezone". The changes to OpenWeather.cpp are:
62,62c61,62
< String url = "https://api.openweathermap.org/data/3.0/onecall?lat=" + latitude + "&lon=" + longitude + "&exclude=minutely" + exclude + "&units=" + units + "&lang=" + language + "&appid=" + api_key;