Changelog¶
4.1.0 (in process)¶
- Some tests added which assert if a field is
Nonebetween all fields methods responses (see #46). These check if a field are not being parsed byprocesser.pyxregular expressions. - New method
ticker_alldue to coinmarketcap API has implemented a limit of 100 for the number of currencies in/ticker/endpoint responses. Withticker_allwe can retrieve all currencies fromtickermethod responses. - New parameter added
use_auto_timeframein some methods until pull request #52.
4.0.0¶
- Coinmarketcap API is updated to version 2 providing the listing endpoint in their API. Also, parameters like
usd_market_caphave been missing and instead aquotesfield list prices by currencies in responses. - Some methods of
Pymarketcapclass have been deprecated:correspondences,ids_correspondences,_is_symbol,_cache_symbols_ids,_cache_exchanges_ids,symbols,coins,total_currencies,exchange_names,__exchange_names_slugs,exchange_slugsandtotal_exchanges. - Next methods have been added instead:
cryptocurrencies,cryptocurrency_by_field_value,cryptoexchanges,exchange_by_field_value,field_typeandlistings. All methods listed in previous point have been replaced by these 6 methods, simplifying the process of access to cryptocurrencies and exchanges and allowing to retrieve them through any field:name,symbol,website_slugandid(cryptocurrencies) orname,website_slugandid(exchanges). - New method
download_exchange_logofor synchronous interface.
3.9.0¶
- All the wrapper rewritten with Cython language.
- The data is obtained and processed by regular expressions instead of parsing the DOM tree.
- Core functionality of the wrapper rewritten for work with
libcurlC library through a Cython wrap at compilation time. Also, you can use the wrapper withurllibstandard library only installing bypython setup.py install --no-curl. - Tests now performed with
pytestinstead of standard libraryunittest. request,lxmlandbs4dependencies removed, onlycython,gccandlibcurlrequired for compile the code.- A precompiler added for insert some code and documentation hardcoded before compile the program.
- All the data now is taken from values provided for the code that builds coinmarketcap instead the values displayed in the frontend page, as before. Is possible select between USD or BTC to returns these in most methods.
- New method
convert()for convert between currencies as coinmarketcap currencies calculator: https://coinmarketcap.com/calculator/ - New method
tokens()convering partially https://coinmarketcap.com/tokens/views/all/ endpoint. - New method
currency()for get all metadata from a currency. - New asynchronous class interface with methods for retrieve
faster long lists of exchanges or currencies:
every_currency(),every_exchange(),every_historical(). - Improvements in both speed and accuracy in exchanges and currencies
cache, from
quick_search.jsonandquick_search_exchanges.jsonfiles of coinmarketcap server.
3.3.0¶
- New method
download_logo()that downloads images for all coins in coinmarketcap in various sizes. - New methods for retrieve info from
graphscoinmarketcap internal API:graphs.currency,graphs.global_capandgraphs.dominance - Some symbols recognition improvements and bugs fixed.
This proyect is originally a fork from https://github.com/barnumbirr/coinmarketcap