aboutsummaryrefslogtreecommitdiffstats
path: root/weather.env.example
diff options
context:
space:
mode:
Diffstat (limited to 'weather.env.example')
-rw-r--r--weather.env.example14
1 files changed, 7 insertions, 7 deletions
diff --git a/weather.env.example b/weather.env.example
index fa30879..7996d44 100644
--- a/weather.env.example
+++ b/weather.env.example
@@ -1,12 +1,12 @@
# Copy to ~/.config/udt/weather.env and fill in. That path is outside this
-# repo on purpose: it holds a key, and anything committed is potentially
-# public. chmod 600 it.
+# repo on purpose: a location is personal data, and anything committed is
+# potentially public. chmod 600 it.
#
-# Get a key at https://openweathermap.org/api. A new key returns
-# "401 Invalid API key" for minutes to hours after creation; that is the API
-# activating it, not a mistake in this file.
+# The forecast comes from Open-Meteo (https://open-meteo.com), which needs no
+# key. CITY is geocoded once through Open-Meteo's geocoding API; COUNTRY is the
+# two-letter ISO code that picks the right place among same-named ones.
+# UNITS is metric (C, km/h) or imperial (F, mph).
-KEY=your_32_character_api_key_here
-CITY=Your City
+CITY=Example City
COUNTRY=XX
UNITS=metric