Comment

Comment by mallaidh

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.
parent mallaidh 9 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton