From ea4cfadef55319da613901017a586043e75e769f Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Mon, 21 Apr 2025 22:52:37 +0300 Subject: add api url modifying. Nifi weatherAPI pipeline OK! --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 6d88e31..c737dc8 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -INTERACTIVE_MODE=True +INTERACTIVE_MODE=False ## Nifi NIFI_USER="lab08nifiuser" @@ -23,7 +23,7 @@ DB_PASS="admin" -## Optional +## Needed if Interactive mode turned off API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72¤t_weather=true" API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} API_URL_USERNAME="TODO" -- cgit v1.2.3