Bitcoin Forum
May 03, 2024, 03:57:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: Linux command line tool for Bitcoin / crypto quotes (bash) on: July 11, 2020, 09:26:22 AM
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.
2  Bitcoin / Project Development / Re: Linux command line tool for Bitcoin / crypto quotes (bash) on: July 07, 2020, 10:30:22 PM
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.
3  Bitcoin / Project Development / Linux command line tool for Bitcoin / crypto quotes (bash) on: July 06, 2020, 04:43:41 PM
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.



Enjoy!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!