mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-14 20:49:23 +01:00
9 lines
319 B
Bash
9 lines
319 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Fill me
|
||
|
PINATAAPIKEY=
|
||
|
PINATASECRETAPIKEY=
|
||
|
|
||
|
# -H = add header, -X GET = get request, tee = create a file and store outpot there
|
||
|
curl -H "pinata_api_key: $PINATAAPIKEY" -H "pinata_secret_api_key: $PINATASECRETAPIKEY" "https://api.pinata.cloud/data/pinList?status=pinned" -X GET | tee response.json
|