This script will scrape coinmarket.com and output a csv of the trading volume for USD pairs only. It excludes Bitfinex.com pairs because those are incorrectly listed as USD and are actually USDT.
Coinmarketcap API is no longer working. Coingecko is possible alternative.
python print_data.py csv > output.csv
python print_data.py html > index.html
BTC Donations: 38hs9PyTbWG4SgyS4yvrR8CQ9PFXErJ5xk
For the time being I'm maintaining an hourly update of this script at https://sportsbettingcalcs.com/honestcoinmarketcap