aboutsummaryrefslogtreecommitdiff
path: root/.scripts/warn
blob: 0ea43f97062bed078a45f03f5414de1c02410c45 (plain) (blame)
1
2
3
4
5
6
7
8
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