pycoingecko
pycoingecko copied to clipboard
Adding API_KEY (x_cg_pro_api_key) support for https://pro-api.coingecko.com/api/v3 calls (pro version)
Add "x_cg_pro_api_key" to every call as this key is needed in coingecko pro version
Don't we also need to update the url to https://pro-api.coingecko.com/api/v3/?
@vilnik Yes, if you use the pro version, the base URL should be https://pro-api.coingecko.com/api/v3/
Do you have plans to merge this functionality in the library?
Tested and works great. The only note – I would add URL override to pro-api host if key is provided, but not a big deal, you can override it by yourself, but would make sense to have it as a part of the MR.
hey guys has this been pulled into main?
Hi! This PR is going to be tested and released to master branch soon
Thanks for contributing!
is this live on pypi?
Hello! Just released a new version pycoingecko v2.3.0 (also on pypi) including PRO API version support. See README & CHANGELOG for more info.