Re: Linux command line tool for Bitcoin / crypto quotes (bash)
by
fatrattombala
on 11/07/2020, 09:26:22 UTC
I updated the script - now it checks if the CoinGecko API is available, before doing anything else; if not, there is a message and the script terminates (no ugly parse error message anymore).
I figured out that with the "xmessage"-function the prices could be displayed in a pop-up-window; but all the colours would be gone, and the idea behind the script is that the desired information is accessible from and displaying to the command line interface .
Post
Topic
BoardProject Development
Re: Linux command line tool for Bitcoin / crypto quotes (bash)
by
fatrattombala
on 07/07/2020, 22:30:22 UTC
Thanks for the reply, I'm glad you liked it. I'll give the widget idea a shot. And you are right, no error handling yet. There is a "ping" function in the API where the script could test if it's available or not.
Post
Topic
BoardProject Development
Merits6 from 4 users
Topic OP
Linux command line tool for Bitcoin / crypto quotes (bash)
I wrote a small linux command line tool as a bash scripting learning project; it uses the CoinGecko-API and is capable of displaying all their supported crypto-currencies, as well as cross-currencies (>50 at the moment, including some cryptos and commodities gold and silver).