From 62972399a677d7eed56ce7a8718f765048b8525b Mon Sep 17 00:00:00 2001 From: AllfatherHatt Date: Sun, 16 Mar 2025 13:30:48 +0100 Subject: [PATCH] STARES AT FORECAST - info --- reginaldCog/weather.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reginaldCog/weather.py b/reginaldCog/weather.py index 86e6b79..c31dc73 100644 --- a/reginaldCog/weather.py +++ b/reginaldCog/weather.py @@ -18,7 +18,11 @@ def get_current_weather(location: str) -> str: def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24') -> str: weather = Weather(location=location) - return json.dumps(weather.forecast(days=days, dt=dt)) + response = weather.forecast(days=days, dt=dt) + + print("DEBUG: Forecast API Response: ", json.dumps(response, ident=2)) + + return json.dumps(response) class Weather: