aboutsummaryrefslogtreecommitdiff
path: root/.scripts/warn
diff options
context:
space:
mode:
authorMarvin Borner2023-03-17 18:24:01 +0100
committerMarvin Borner2023-03-17 18:24:01 +0100
commita8a6c3a400174cf476ec8e75bb2e5a5b0afb34da (patch)
treef7fa93658fffd6dd7f8fd664f907fb1a8f3da772 /.scripts/warn
parent031698ddaa8d7f8224358932b8e69e7f22d43963 (diff)
Script sync
Diffstat (limited to '.scripts/warn')
-rwxr-xr-x.scripts/warn9
1 files changed, 9 insertions, 0 deletions
diff --git a/.scripts/warn b/.scripts/warn
new file mode 100755
index 0000000..0ea43f9
--- /dev/null
+++ b/.scripts/warn
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# codes from there (first 6 letters, rest 0)
+# https://www.xrepository.de/api/xrepository/urn:de:bund:destatis:bevoelkerungsstatistik:schluessel:rs_2021-07-31/download/Regionalschl_ssel_2021-07-31.json
+
+code="084160000000"
+warnings="https://warnung.bund.de/api31/dashboard/$code.json"
+
+curl "$warnings" | jq