crypto-price-widget
crypto-price-widget copied to clipboard
No Values and No Updates today
Widget on Windows 10 is not updating or displaying any values.
Hello, after some debugging it seems like after a while I got this error:
{"Response":"Error","Message":"You are over your rate limit please upgrade your account!","HasWarning":false,"Type":99,"RateLimit":{"calls_made":{"second":1,"minute":7,"hour":115,"day":120,"month":62582,"total_calls":77902},"max_calls":{"second":20,"minute":300,"hour":3000,"day":7500,"month":50000}},"Data":{}}
Basically we reached the API rate limit. I'll look into it later, if possible change to another API.
thx for looking at it! Maybe reduce the number of "refresh or calls "? Not sure how often the widget checks the price per minute but I could leave with a bit less frequently if it helps. If its due to number of users diff story of course... regards Leo
Looks like @RenanMsV has done that. If he's still active maybe he can release it, if he's not I'll merge his into mine and release it.
By default it updates each 5 seconds. But the market data is cached for 10 seconds, so the app calls it twice and get the same value. I suggest a 10 seconds default update interval or a little more.
I am having the same issue, started yesterday, only on my work laptop, my other PC is working just fine.
Hello, after some debugging it seems like after a while I got this error:
{"Response":"Error","Message":"You are over your rate limit please upgrade your account!","HasWarning":false,"Type":99,"RateLimit":{"calls_made":{"second":1,"minute":7,"hour":115,"day":120,"month":62582,"total_calls":77902},"max_calls":{"second":20,"minute":300,"hour":3000,"day":7500,"month":50000}},"Data":{}}
Basically we reached the API rate limit. I'll look into it later, if possible change to another API.
Which API does it currently use?
Edit: Nevermind, found it. Cryptocompare
Hello, after some debugging it seems like after a while I got this error:
{"Response":"Error","Message":"You are over your rate limit please upgrade your account!","HasWarning":false,"Type":99,"RateLimit":{"calls_made":{"second":1,"minute":7,"hour":115,"day":120,"month":62582,"total_calls":77902},"max_calls":{"second":20,"minute":300,"hour":3000,"day":7500,"month":50000}},"Data":{}}
Basically we reached the API rate limit. I'll look into it later, if possible change to another API.
Here, this might be a good one: https://coinpaprika.com/api/
https://github.com/coinpaprika?utf8=%E2%9C%93&q=coinpaprika-api https://api.coinpaprika.com/docs/1.5
Supports over 4000 cryptos, rate limit of 600 per minute, and the best part—it's free.
Thanks @cousinit99 for the suggestion! I took look at it, but sadly it only supports USD and BTC for current prices. I'll be using this one: https://www.coingecko.com/en/api.
🤦♂️🤦♂️ What good is 10 pings a second if you can't get current prices with them? I can't even... Coingecko looks better anyway.
Check if the API keeps the current value cached and for how long.
Check if the API keeps the current value cached and for how long.
I couldn't find any cache hints on the api docs.