From 16bfda431c54a2ec6fbd011edd710c1d787ae1de Mon Sep 17 00:00:00 2001 From: Philip Duvall Date: Sat, 1 Mar 2025 09:29:05 -0700 Subject: [PATCH] use OWM onecall v3.0 --- aprsd/plugin_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/plugin_utils.py b/aprsd/plugin_utils.py index 12171e5..c225f9f 100644 --- a/aprsd/plugin_utils.py +++ b/aprsd/plugin_utils.py @@ -67,7 +67,7 @@ def fetch_openweathermap(api_key, lat, lon, units="metric", exclude=None): exclude = "minutely,hourly,daily,alerts" try: url = ( - "https://api.openweathermap.org/data/2.5/onecall?" + "https://api.openweathermap.org/data/3.0/onecall?" "lat={}&lon={}&appid={}&units={}&exclude={}".format( lat, lon,