Created
August 22, 2017 17:37
-
-
Save kostaspt/132cfc8b26d188cf82672bac4ca97558 to your computer and use it in GitHub Desktop.
Alias to get the current Ethereum price from Coinbase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias eth_price="curl --silent -XGET https://api.coinbase.com/v2/prices/ETH-EUR/buy | python3 -c \"import sys, json; print(json.load(sys.stdin)['data']['amount'] + '€')\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment