- Author: Daniel J. Umpierrez
- License: UNLICENSE
- Version: 0.1.8
CoinMarketCap Site Scrapper to Pandas Dataframes.
# `pip` command by supplying the github project repo URL.
$ pip install git+https://github.com/havocesp/pcmc
# show accepted arguments
$ pcmc --help
# show 1H gainers filtered by exchanges HITBTC, BINANCE and CRYPTOPIA
$ pcmc --timeframe 1h --filter_by gainers hitbtc binance cryptopia
Project history changes.
- Volume filtering now working
- Code cleanup (less lines, same result and more readable code)
- New CoinMarketCap class on static.py
- Some code tidy task accomplished and some typo fixing.
- Added BeautifulSoap dependence for better scrapping.
- Removed ccxt, AppDirs, requests, begins and tabulate dependencies.
- Many new methods added to "CoinMarketCap" class
- New 'static.py' module to serve as a global constants container.
- Fixed error on losers 7d and 24h methods.
- New rate extraction from html code.
- New "core" function
extract_rate
for html code rate extraction cryptocmp
dependency removed.- Some unused
CoinMarketCap
methods removed. __init__
file__long_description__
error fixed.
- New
utils.py
module containingcli.py
functions helpers.
- Many function documentation added (with some "Doctests").
- Added new function to handle cache data.
- Screen clear on every update (useful for loop mode).
pcmc
command added to easy run CLI interface from anywhere.- Loop flag and loop interval CLI args added for auto run mode.
- New BTC price added (calculated from USD one at current BTC ratio)
- "All" page data.
- "Gainers and Losers" page.
- Coinmarketcap custom "watchlist" page interaction.
- Get symbol list supported by an exchange.
- Show diff between refreshes.
- Retrieve prices in BTC currency.
- CLI interface.