- support both public (with or without demo_api_key) and pro (with pro api key) api in requests
- added new methods in coins, asset_platforms, exchanges, nfts, global
- added nfts (beta) endpoints (/nfts/list, /nfts/{id}, /nfts/{asset_platform_id}/contract/{contract_address})
- updated tests
- removed deprecated endpoints (status_updates, finance and events):
- /coins/{id}/status_updates -> cg.get_coin_status_updates_by_id()
- /exchanges/{id}/status_updates -> cg.get_exchanges_status_updates_by_id()
- /finance_platforms -> cg.get_finance_platforms()
- /finance_products -> cg.get_finance_products()
- /status_updates -> cg.get_status_updates()
- /events -> cg.get_events()
- /events/countries -> cg.get_events_countries()
- /events/types -> cg.get_events_types()
- removed deprecated api_base_url param from CoinGeckoAPI init
- added /search endpoint
- added CoinGecko Pro API support using api_key param in CoinGeckoAPI init (required in PRO version API calls)
- added ability to modify how many retries to do in requests session using param retries in CoinGeckoAPI init (default: retries=5)
- fixed session to mount retry adapter on https instead of http
- fixed params passed in get_coin_market_chart_range_from_contract_address_by_id for /coins/{id}/contract/{contract_address}/market_chart/range endpoint
- added /indexes/{market_id}/{id} and /companies/public_treasury/{coin_id} endpoints
- added asset_platforms (/asset_platforms) and categories (/coins/categories/list, coins/categories) endpoints
- allow Python Lists and Booleans for any endpoint parameter (list converted to comma-separated string & bool converted to lower case string)
- removed /indexes/{id} endpoint (Get market index by id) -> cg.get_indexes_by_id()
- improved request exceptions handling (Fixed unbound local exception on GET request failure)
- fixed __api_url_params issue for optional parametes of few endpoints (such as /coins/{id}/market_chart)
- added new endpoints (/coins/{id}/ohlc, /search/trending, /global/decentralized_finance_defi)
- updated tests
- allow optional arguments for ALL endopoints
- added indexes endpoints (/indexes, /indexes/{id}, /indexes/list)
- added derivatives endpoints (/derivatives, /derivatives/exchanges, /derivatives/exchanges/{id}, /derivatives/exchanges/list)
- updated tests
- included more contract endpoints
- included /coins/{id}/market_chart/range endpoint
- basic methods for finance endpoints with tests
- updated error handling
- added check for json format in __request; coingecko returns a html string when something goes wrong in the request, which results in an error when json.loads is called on the html string.
- included /exchanges/{id}/volume_chart endpoint
- exceptions include API error message
- fix get_coin_market_chart_by_id test
- Use a list or tuple for multiple-valued arguments
- convert every list arg to comma-separated string
- Fixed arguments for get_token_price
- Added get_token_price function
- README incude examples
- included /exchanges/list endpoint
- added /coins/{id}/tickers endpoint
- included events endpoints
- included status_updates endpoints
- updated exchanges endpoints
- updated coins endpoints
- included simple endpoints
- use requests session to include retries
- fixed bug when querying exchanges and added more unit tests
- first unit tests for coingecko wrappers
- initial commit