feat: initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.env
|
||||
20
logincheck.sh
Executable file
20
logincheck.sh
Executable 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"
|
||||
|
||||
Reference in New Issue
Block a user