From 73e36aedf848bc04b7ad7f239bf096d529e393bd Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 22 Apr 2025 15:24:52 -0500 Subject: [PATCH] Include hourly forecast data in One Call API request - Remove hourly from exclude parameter --- src/weather_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weather_manager.py b/src/weather_manager.py index 39be21ff..0409d488 100644 --- a/src/weather_manager.py +++ b/src/weather_manager.py @@ -100,7 +100,7 @@ class WeatherManager: lon = geo_data[0]['lon'] # Get current weather and daily forecast using One Call API - one_call_url = f"https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude=minutely,hourly,alerts&appid={api_key}&units={units}" + one_call_url = f"https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude=minutely,alerts&appid={api_key}&units={units}" # Fetch current weather and daily forecast response = requests.get(one_call_url)