pycoingecko icon indicating copy to clipboard operation
pycoingecko copied to clipboard

Adding API_KEY (x_cg_pro_api_key) support for https://pro-api.coingecko.com/api/v3 calls (pro version)

Open 0xtakamaka opened this issue 3 years ago • 4 comments

Add "x_cg_pro_api_key" to every call as this key is needed in coingecko pro version

0xtakamaka avatar Oct 13 '21 08:10 0xtakamaka

Don't we also need to update the url to https://pro-api.coingecko.com/api/v3/?

vilnik avatar Jul 04 '22 11:07 vilnik

@vilnik Yes, if you use the pro version, the base URL should be https://pro-api.coingecko.com/api/v3/

slgero avatar Jul 26 '22 16:07 slgero

Do you have plans to merge this functionality in the library?

slgero avatar Jul 26 '22 16:07 slgero

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.

darklow avatar Aug 12 '22 23:08 darklow

hey guys has this been pulled into main?

adamxyzxyz avatar Aug 26 '22 17:08 adamxyzxyz

Hi! This PR is going to be tested and released to master branch soon

man-c avatar Aug 28 '22 09:08 man-c

Thanks for contributing!

man-c avatar Aug 28 '22 13:08 man-c

is this live on pypi?

adamxyzxyz avatar Aug 28 '22 23:08 adamxyzxyz

Hello! Just released a new version pycoingecko v2.3.0 (also on pypi) including PRO API version support. See README & CHANGELOG for more info.

man-c avatar Aug 30 '22 09:08 man-c