Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pro API Support #29

Open
OxfordGrid opened this issue Sep 16, 2021 · 3 comments
Open

Pro API Support #29

OxfordGrid opened this issue Sep 16, 2021 · 3 comments

Comments

@OxfordGrid
Copy link

Paid subscription to the CG Api makes requests to a different API endpoint:
https://pro-api.coingecko.com/api/v3
Another change is an addition of the "x_cg_pro_api_key" access key at the end of each request.

It would be great to have this support out of the box. For example if there were a constructor that took the key as a parameter and based on it automatically selected the endpoint.

Example:
curl https://pro-api.coingecko.com/api/v3/ping?x_cg_pro_api_key=YOUR_API_KEY

@tosunthex
Copy link
Owner

tosunthex commented Oct 21, 2021

I can make this change but i cant test it because i dont have any paid subscription :(

If you can help me we can help together

@OxfordGrid
Copy link
Author

My paid subscription expired yesterday :( I did a quick a dirty change for this to work, so happy to review a PR to make sure it's aligned to what worked for me.

@tosunthex
Copy link
Owner

Added by @mak5577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants