coinmon icon indicating copy to clipboard operation
coinmon copied to clipboard

what about a pure text outoput option?

Open merkleID opened this issue 4 years ago • 2 comments

Hi, I'm kindly requesting to the developers a pure text (or json) output so that it can be inserted into a file, something like coinmon -f BTC,ETH -o(utput) >> price.txt

It would be very useful.

Thank you, Luca

merkleID avatar Feb 20 '21 07:02 merkleID

You can do this with coinmon -f BTC > price.txt

TedHoryczun avatar Mar 03 '21 00:03 TedHoryczun

You can do this with coinmon -f BTC > price.txt

yeah, thank you, I know that. the output in the file is:

Data source from coincap.io at 4:36:10 PM ^[[90m-------^[[39m^[[90m-------^[[39m^[[90m--------------^[[39m^[[90m-------------^[[39m^[[90m-------------^[[39m^[[90m---------^[[39m^[[90m--------------^[[39m ^[[90m║^[[39m^[[31m ^[[33mRank^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mCoin^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mPrice (USD)^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mChange 24H^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mMarket Cap^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mSupply^[[31m ^[[39m^[[90m│^[[39m^[[31m ^[[33mVolume 24H^[$ ^[[90m-------^[[39m^[[90m-------^[[39m^[[90m--------------^[[39m^[[90m-------------^[[39m^[[90m-------------^[[39m^[[90m---------^[[39m^[[90m--------------^[[39m ^[[90m║^[[39m 1 ^[[90m│^[[39m BTC ^[[90m│^[[39m 50831.5090 ^[[90m│^[[39m ^[[32m4.32%^[[39m ^[[90m│^[[39m 947.7B ^[[90m│^[[39m 18.6M ^[[90m│^[[39m 17.7B ^[[90m║^[[39m ^[[90m-------^[[39m^[[90m-------^[[39m^[[90m--------------^[[39m^[[90m-------------^[[39m^[[90m-------------^[[39m^[[90m---------^[[39m^[[90m--------------^[[39m

I was asking for the capability of having a output to file like: 03032021;0439PM;BTCUSD;50831.5090

Thank you.

merkleID avatar Mar 03 '21 15:03 merkleID