diff options
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 |