feat: initial commit

This commit is contained in:
2025-07-03 23:47:21 +02:00
commit eb27afa73a
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

20
logincheck.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
BASE_URL=https://www-genesis.destatis.de/genesisWS/rest/2020
# curl -X POST "$BASE_URL/helloworld/logincheck" \
# -H "Content-Type: application/x-www-form-urlencoded" \
# -H "username: c7a23d31ee1b4af6bc30c5c49840e57b" \
curl -X POST "$BASE_URL/data/tablefile" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "username: $DESTATIS_TOKEN" \
-d "name=61111-0004" \
-d "startyear=2025" \
-d "transpose=true" \
-d "classifyingvariable1=C13A5" \
-d "classifyingkey1=CC13-071*" \
-d "compress=true" \
-d "format=csv" \
-d "language=de"