Add script to query Cardtrader API
This commit is contained in:
parent
2ab69dce8e
commit
9d6d39d75f
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Note: Make sure to export BEARER before using
|
||||||
|
|
||||||
|
URL="https://api.cardtrader.com/api/v2"
|
||||||
|
|
||||||
|
curl --silent "$URL/$1" -H "Authorization: Bearer $BEARER" | jq .
|
Loading…
Reference in New Issue