8go / coinbash Goto Github PK
View Code? Open in Web Editor NEW๐ฐ A bash script (CLI) for displaying crypto currencies market data in a terminal ๐ฅ
License: GNU General Public License v3.0
๐ฐ A bash script (CLI) for displaying crypto currencies market data in a terminal ๐ฅ
License: GNU General Public License v3.0
Script is no longer able to get prices, outputs
column: undefined column name '8'
and then the market data source and date
HI !! I am using ./coinbash.sh -l eth,btc,bnb,cake,dai and I get incorrect ETH price:
Rank Symbol Name USD 24h-Change 7d-Change Market-cap-USD
1 BTC Bitcoin 57.334,71455242 +0,2% +2,5% 1.072.302.842.925
2 ETH Ethereum 3.802,50834040 +8,4% +38,8% 440.241.270.615
3 BNB Binance-Coin 634,98641753 -1,0% +5,4% 97.427.805.597
29 CAKE PancakeSwap 37,23198535 -0,4% -7,2% 6.073.360.461
42 DAI Dai 1,00359462 +0,3% +0,3% 4.531.673.786
Market data source: https://www.coinmarketcap.com on vie 07 may 2021 12:01:33 -03
Do you have any notice of a possible bug/incorrout ??
This would be to integrate into larger scripts where it only returns the price of the selected crypto.
<command> -s btc
<price>
And have something like:
foo = $(<command> -s btc)
echo $foo
<price>
./coinbash.sh
jq: error (at :0): Cannot index object with number
When I call the script, I received: coinbash.sh: 175: Syntax error: "(" unexpected
Any suggestions on this one please?
~ # bash coinbash.sh
sed: bad regex '(+[0-9].[0-9]%)': Repetition not preceded by valid expression
Market data source: https://www.coinmarketcap.com on Wed Apr 6 13:42:28 UTC 2022
I know it clearly says tested and works with Debian/Ubuntu. I hope you reconsider, Great app btw!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.