#!/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 .