Python3 API and web scraper for coinmarketcap.com.


Keywords
coinmarketcap, cryptocurrency, API, wrapper, scraper, json, BTC, Bitcoin, C, Curl, Cython, asyncio, cryptocurrencies, cryptotrading, graphs, libcurl, pypi, python, trading, urllib
License
BSD-3-Clause
Install
pip install pymarketcap==4.0.11

Documentation

pymarketcap

TravisCI AppVeyor Status ReadTheDocs Binder

PyPI PyPI-Versions LICENSE

pymarketcap is a library for retrieve data from coinmarketcap API and website. Consist of a cythonized scraper and and API wrapper built with libcurl, but is posible to compile a lightweight version with standard urllib

Install

You need to install cython before pymarketcap. Try: pip3 install Cython and then:

pip3 install pymarketcap
  • On Windows, urllib will be used library by default to make synchronous requests whereas that on Linux/Mac will be built using libcurl C library. You can control this (see below):

From source

git clone https://github.com/mondeja/pymarketcap.git
cd pymarketcap
pip3 install -r requirements.txt
python setup.py install
  • To force installation with libcurl, use --force-curl in last command.
  • To install with urllib, use --no-curl.

Documentation

Contributing

Testing

Changelog

License

Support