diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-21 22:52:37 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-21 22:52:37 +0300 |
commit | ea4cfadef55319da613901017a586043e75e769f (patch) | |
tree | 10432285f9ed286710d81c2508b52eb1ec33492a /config.py | |
parent | 0190bb2cf61cf36906201445cbecc4a2b6b22af1 (diff) |
add api url modifying. Nifi weatherAPI pipeline OK!
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |