Y
Hacker News
new
|
ask
|
show
|
jobs
by
mallaidh
3139 days ago
I prefer
curl -s "https://api.coinmarketcap.com/v1/ticker/?convert=$1" | jq ".[0] .price_$1" | sed 's/\"//g'
for silent curl and no quotes in output. Unfortunately, this does add a third dependency to the script.