pymarketcap is an APACHE licensed library for retrieve information from coinmarketcap API and web. Consist of a scraper built on BeautifulSoup and an API wrapper. Only tested in Python3.
From source use:
pip install https://github.com/mondeja/pymarketcap/archive/master.zip
or
git clone https://github.com/mondeja/pymarketcap.git
cd pymarketcap
python setup.py install
All methods are self explained in doctrings. You can see all available methods at pymarketcap/docs or build docs with the next command from proyect's root folder:
sphinx-build -b html docs docs/build
- Issue Tracker: https://github.com/mondeja/pymarketcap/issues
- Source Code: https://github.com/mondeja/pymarketcap
Method | Developed | Documented | Tested |
---|---|---|---|
API COMMANDS | |||
symbols |
✔ | ✔ | ✔ |
ticker |
✔ | ✔ | ✔ |
stats |
✔ | ✔ | ✔ |
SCRAPER COMMANDS | |||
markets |
✔ | ✔ | ✔ |
ranks |
✔ | ✔ | ✔ |
historical |
✔ | ✔ | ✔ |
recently |
✔ | ✔ | ✔ |
exchange |
✔ | ✔ | ✔ |
exchanges |
✔ | ✔ | ✔ |
_exchange_names |
✔ | ✔ | ✔ |
assets |
✘ | ✘ | ✘ |
If you are having issues, please let me know ([email protected]).
Copyright (c) 2017 Álvaro Mondéjar Rubio [email protected]. All rights reserved.
Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by Álvaro Mondéjar Rubio. The name of the Álvaro Mondéjar Rubio may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
If you feel like buying me a coffee (or a beer?), donations are welcome:
BTC : 1LfUF4AcvH7Wd1wTc7Mmqobj4AypUbpvN5
ETH : 0x7428fE875226880DaD222c726F6340eec42Db567
STEEM: @mondeja