summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@ut.ee>2025-04-21 22:52:37 +0300
committerRasmus Luha <rasmus.luha@ut.ee>2025-04-21 22:52:37 +0300
commitea4cfadef55319da613901017a586043e75e769f (patch)
tree10432285f9ed286710d81c2508b52eb1ec33492a /config.py
parent0190bb2cf61cf36906201445cbecc4a2b6b22af1 (diff)
add api url modifying. Nifi weatherAPI pipeline OK!
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 2 insertions, 2 deletions
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&current_weather=true"
API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'}
API_URL_USERNAME="TODO"