commit eb27afa73ace48e90724e1e5096aa4641fd6b0f6 Author: Tim Wundenberg Date: Thu Jul 3 23:47:21 2025 +0200 feat: initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/logincheck.sh b/logincheck.sh new file mode 100755 index 0000000..4437a57 --- /dev/null +++ b/logincheck.sh @@ -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" +