diff options
author | Marvin Borner | 2023-03-17 18:24:01 +0100 |
---|---|---|
committer | Marvin Borner | 2023-03-17 18:24:01 +0100 |
commit | a8a6c3a400174cf476ec8e75bb2e5a5b0afb34da (patch) | |
tree | f7fa93658fffd6dd7f8fd664f907fb1a8f3da772 /.scripts/warn | |
parent | 031698ddaa8d7f8224358932b8e69e7f22d43963 (diff) |
Script sync
Diffstat (limited to '.scripts/warn')
-rwxr-xr-x | .scripts/warn | 9 |
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 |