#!/bin/bash printf -v coin '%s' -1 # crypto.sh bitcoin price() { # A function that pulls cryptocurrency price data from coingecko curl -X 'GET' 'https://api.coingecko.com/api/v3/simple/price?ids='"$1"'&vs_currencies=usd' \ -H 'accept: application/json' 2> /dev/null | # sends download data to /dev/null sed 's/.*usd"://' | # Removes everything before the price sed 's/..$//' | # Removes back two }} … Continue reading bash: Cryptocurrency Prices From the Linux Terminal
Tag: cryptocurrency
Cryptocurrency Platform Cardano & Ada Coin
Disclosure: I own Ada. This is a condensed summary of what convinced me to start buying cryptocurrency, specifically Ada. I'm happy to share what I learned, but this is not investment advice. I don't know you. I don't know your situation. Cryptocurrencies are a speculative investment, and you could lose all your money. If that's … Continue reading Cryptocurrency Platform Cardano & Ada Coin
