Skip to content

Conversation

@bahaa-kallas
Copy link

Enable passing demo API key to the client. This change is a breaking change but as the library is pre 1.0.0 stage I will leave the versioning up to the library author to decide how to proceed.

@bahaa-kallas
Copy link
Author

@samuraitruong would really appreciate a review of these changes. I will happily apply any requested changes.

Best regards

Copy link

@ErcouldnT ErcouldnT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BHare1985
Copy link

I'd really appreciate getting this merge-ready again. I upgraded to coingecko-api-v3 in my API project but forgot to rebuild it. Hours later, after finally rebuilding, I spent about an hour troubleshooting mysterious 400 errors from CoinGecko.

It would be helpful to have a debug mode that displays the actual error codes and messages from CoinGecko's API. After adding HTTP middleware to inspect the actual API calls, I discovered the issue: when I provided my demo key, the library was attempting to use the pro API endpoint, which CoinGecko throws an error if used in conjunction with demo key - thus what brings me here.

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

Successfully merging this pull request may close these issues.

4 participants