Search content
Sort by

Showing 3 of 3 results by fatrattombala
Post
Topic
Board Project Development
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  Roll Eyes.
Post
Topic
Board Project 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
Board Project Development
Merits 6 from 4 users
Topic OP
Linux command line tool for Bitcoin / crypto quotes (bash)
by
fatrattombala
on 06/07/2020, 16:43:41 UTC
⭐ Merited by MrFreeDragon (3) ,ETFbitcoin (1) ,cr4zyd3v (1) ,d5000 (1)
Hi all,

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).

It can be found here:

https://github.com/fatrattombala/bash-btc-quote

An older, simpler and therefore faster version (also accessible on github) uses the Kraken-API and shows only BTC and ETH.

https://raw.githubusercontent.com/fatrattombala/bash-btc-quote/master/BTCquote.png

Enjoy!