aboutsummaryrefslogtreecommitdiffstats
path: root/weather.env.example
diff options
context:
space:
mode:
Diffstat (limited to 'weather.env.example')
-rw-r--r--weather.env.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/weather.env.example b/weather.env.example
new file mode 100644
index 0000000..fa30879
--- /dev/null
+++ b/weather.env.example
@@ -0,0 +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.
+#
+# 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.
+
+KEY=your_32_character_api_key_here
+CITY=Your City
+COUNTRY=XX
+UNITS=metric