5 ms·
why?
by onion-soup 9y ago
why?
- purerandomness 9y agoHow else would you check Bitcoin prices? Launch a whole web browser and visit a random site?
- 0xJRS 9y agoI have these in my zshrc btc='echo "Btc(usd): $"$(curl -sL https://api.coinmarketcap.com/v1/ticker/bitcoin/ https://api.coinmarketcap.com/v1/ticker/bitcoin/ | jq ".[0].price_usd" | cut -d\" -f2 )' eth='echo "Eth(usd): $"$(curl -sL https://api.coinmarketcap.com/v1/ticker/ethereum/ https://api.coinmarketcap.com/v1/ticker/ethereum/ | jq ".[0].price_usd" | cut -d\" -f2 )'