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

Support for api key? #22

Closed
TexZeTech opened this issue Aug 7, 2020 · 4 comments
Closed

Support for api key? #22

TexZeTech opened this issue Aug 7, 2020 · 4 comments

Comments

@TexZeTech
Copy link

I would like to use an api key from cryptopian just so I'm not limited to "free"

@madnight
Copy link
Owner

madnight commented Aug 8, 2020

What kind of limitations does bitcoin-chart-cli have with the free api version?

@TexZeTech
Copy link
Author

I'm going to mark this as closed I had a second copy of my script hitting there servers at a stupid rate. Sorry for wasting your time.

@TexZeTech
Copy link
Author

so just refreshing four windows at 1min intervles results in

Sorry. The coin/currency pair BTC/CAD does not exist in the cryptocompare api.

{"Response":"Error","Message":"You are over your rate limit please upgrade your account!","HasWarning":false,"Type":99,"RateLimit":{"calls_made":{"second":1,"minute":1,"hour":1,"day":106,"month":75771,"total_calls":75771},"max_calls":{"second":20,"minute":300,"hour":3000,"day":10000,"month":75000}},"Data":{}}

So I will request the ability for an api key entry once again.

@TexZeTech TexZeTech reopened this Aug 18, 2020
@madnight
Copy link
Owner

madnight commented Oct 1, 2020

Should work with the newest version:

export CRYPTOCOMPARE_API_KEY=your_api_key
npx bitcoin-chart-cli@3.3.4

@madnight madnight closed this as completed Apr 2, 2021
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