mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 12:49:22 +01:00
parent
fb4f6f28ec
commit
c5c0b9b572
8
bash/pinata-listpins.bash
Executable file
8
bash/pinata-listpins.bash
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user