Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmovane/coinfo
A CLI tool that provides useful information about cryptocurrencies.
https://github.com/zmovane/coinfo
cli coingecko coingecko-api coinmarketcap crypto crypto-cli cryptocurrencies cryptocurrency rust rust-cli
Last synced: about 2 months ago
JSON representation
A CLI tool that provides useful information about cryptocurrencies.
- Host: GitHub
- URL: https://github.com/zmovane/coinfo
- Owner: zmovane
- Created: 2022-08-26T17:23:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T13:25:46.000Z (over 1 year ago)
- Last Synced: 2024-05-17T06:50:56.435Z (8 months ago)
- Topics: cli, coingecko, coingecko-api, coinmarketcap, crypto, crypto-cli, cryptocurrencies, cryptocurrency, rust, rust-cli
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# coinfo
A CLI tool that provides useful information about cryptocurrencies.
## Installation
```
$ cargo install coinfo
```## Usage
### List tickers
```
$ coinfo ticker BTC,ETH+---------+----------+--------------+--------------+-------------------+
| Symbol | Exchange | Price (USDT) | PriceChange% | 24H Volume (USDT) |
+======================================================================+
| BTCUSDT | Binance | 20623.11 | -4.222 | 5157235192.589115 |
|---------+----------+--------------+--------------+-------------------|
| ETHUSDT | Binance | 1572.3 | -7.519 | 1560911036.891572 |
+---------+----------+--------------+--------------+-------------------+
```### List community info
```
$ coinfo community btc+----------+------------------------+---------------------------------+------------------------------------+------------------------------------------------+
| Currency | Homepage | Explorer | Opensource | Description |
+===========================================================================================================================================================+
| btc | http://www.bitcoin.org | https://blockchair.com/bitcoin/ | https://github.com/bitcoin/bitcoin | Bitcoin is the first successful internet money |
| | | https://btc.com/ | https://github.com/bitcoin/bips | based on peer-to-peer technology; whereby no |
| | | https://btc.tokenview.com/ | | central bank or authority is involved in the |
| | | | | transaction and production of the Bitcoin |
| | | | | currency. It was created by an anonymous |
| | | | | individual/group under the name, Satoshi |
| | | | | Nakamoto. The source code is available |
| | | | | publicly as an open source... |
| | | | | |
| | | | | Read more on |
| | | | | https://www.coingecko.com/en/coins/bitcoin |
+----------+------------------------+---------------------------------+------------------------------------+------------------------------------------------+
```### List airdrops
```
$ coinfo airdrop --status ongoing+---------------------------------------+----------+--------------+-------------------+----------------------+---------------------+---------------------+--------------------------------------+
| Ongoing Project | Currency | Participated | Number of winners | Total airdrop amount | Start date (UTC) | End date (UTC) | Link |
+===============================================================================================================================================================================================+
| SENSO Token $75 000 Airdrop Campaign | SENSO | 80940 | 2000 | 384498 | 2022-08-10 16:00:00 | 2022-08-30 16:00:00 | https://coinmarketcap.com/currencies |
| | | | | | | | /senso/airdrop/ |
+---------------------------------------+----------+--------------+-------------------+----------------------+---------------------+---------------------+--------------------------------------+```
### Help
```
$ coinfo --helpUSAGE:
coinfoOPTIONS:
-h, --help Print help informationSUBCOMMANDS:
community
help Print this message or the help of the given subcommand(s)
ticker$ coinfo ticker --help
USAGE:
coinfo ticker [OPTIONS]ARGS:
OPTIONS:
-e, --exchange
-h, --help Print help information$ coinfo airdrop --help
USAGE:
coinfo airdrop [OPTIONS]OPTIONS:
-h, --help Print help information
-s, --status [possible values: ongoing, upcoming, ended]
```## TODO
- [x] Airdrops Information