crypto-coins 1.0.0
read README.md from github

# crypto-coins

A simple python lib for get info about crypto-moneys, using the `https://coincap.io/` API.

# functions :

`get_top_list()` :
return the more expensive crypto-moneys, in order

````python
from crypto-coins import get_top_list

print(get_top_list())

````

result :

````python
>> ['bitcoin', 'ethereum', 'binance-coin', 'xrp', 'tether', 'cardano', 'dogecoin', 'polkadot', 'uniswap', 'litecoin', 'bitcoin-cash', 'chainlink', 'solana', 'usd-coin', 'theta', 'stellar', 'filecoin', 'wrapped-bitcoin', 'binance-usd', 'monero', 'terra-luna', 'neo', 'iota', 'eos', 'cosmos', 'aave', 'bitcoin-sv', 'crypto-com-coin', 'bittorrent', 'maker', 'tezos', 'multi-collateral-dai', 'algorand', 'huobi-token', 'compound', 'kusama', 'thorchain', 'elrond-egld', 'dash', 'nem', 'decred', 'zcash', 'matic-network', 'chiliz', 'hedera-hashgraph', 'enjin-coin', 'decentraland', 'zilliqa', 'synthetix-network-token', 'digibyte', 'basic-attention-token', 'siacoin', 'theta-fuel', 'yearn-finance', 'uma', 'sushiswap', 'waves', 'blockstack', 'horizen', 'qtum', 'ontology', 'icon', 'celo', 'harmony', '0x', 'bancor', 'swissborg', 'reserve-rights', 'xinfin-network', 'ankr', 'omg', 'kucoin-shares', 'fantom', 'dent', 'iostoken', 'ren', 'verge', 'bitmax-token', 'vethor-token', 'livepeer', 'loopring', 'lisk', 'kyber-network', 'nervos-network', 'origin-protocol', 'storj', 'ocean-protocol', 'nxm', 'maidsafecoin', 'augur', 'golem-network-tokens', 'electroneum', 'iotex', 'wink-tronbet', 'nkn', 'ardor', 'trustswap', 'fetch', 'singularitynet', 'aragon']
````

the `index 0` is the more expensive crypto-money, and the `index 1` the second, etc.

_______________________________________________________________________________________________________________________________________________________________


`get_money_by_rank(rank=1)` :
return the money who has the rank number (ex : bitcoin = 1)

````python
from crypto-coins import get_money_by_rank

print(get_money_by_rank(3))
````

result :

````python
>> binance-coin
````
_______________________________________________________________________________________________________________________________________________________________


`get_rank_by_money(money='bitcoin)`:
return the rank of a money

```python
from crypto-coins import get_rank_by_money

print(get_rank_by_money('stellar'))

```

result :

````python
>> 16
````
_______________________________________________________________________________________________________________________________________________________________

`get_money_info(money_name='bitcoin')`:
return the info of a money

```python
from crypto-coins import get_rank_by_money

print(get_money_info(money_name='qtum'))

```

result :

````python
>> {'data': {'id': 'qtum', 'rank': '61', 'symbol': 'QTUM', 'name': 'Qtum', 'supply': '98315664.7260568000000000', 'maxSupply': '107822406.0000000000000000', 'marketCapUsd': '1310840549.9845289385242708', 'volumeUsd24Hr': '207679800.6994329166665946', 'priceUsd': '13.3329775436804244', 'changePercent24Hr': '8.2445673627018140', 'vwap24Hr': '12.6877319745330286', 'explorer': 'https://qtum.info/'}, 'timestamp': 1619433969660}
````

_______________________________________________________________________________________________________________________________________________________________

`get_history(money='bitcoin', interval='d1')`:
return the history of the money, with interval (m1, m5, m15, m30 / h1, h2, h6, h12 / d1 ; m = month, h = hour, d = day)

````python
from crypto-coins import get_history

print(get_history('solana', 'd1'))

````

result : https://bin.readthedocs.fr/ominal.py (the output is very long)

_______________________________________________________________________________________________________________________________________________________________

`get_markets(money='bitcoin')`:
return last transactions of a money

````python
from crypto-coins import get_markets

print(get_markets('bitcoin'))

````

result : too long for bin too, try it your self !

_______________________________________________________________________________________________________________________________________________________________

`get_rates(money=None)`:
return rates of a money or off all the moneys (when money is `None`)

_______________________________________________________________________________________________________________________________________________________________

`get_exchanges(money=None)`:
return exchanges of a money or off all the moneys (when money is `None`)