steampy icon indicating copy to clipboard operation
steampy copied to clipboard

price fetching error

Open Dan203302 opened this issue 1 year ago • 1 comments

Hi, I make requests for prices every 3.5 sec. After ~500-800 requests an error is being caused.

   raise TooManyRequests('You can fetch maximum 20 prices in 60s period')
steampy.exceptions.TooManyRequests: You can fetch maximum 20 prices in 60s period

If I try to restart my code, this error appears immediately. How fix it?

Dan203302 avatar Dec 13 '23 19:12 Dan203302

you can just dude in 60 sec take 20 count items get price not more ... enter in your code with use sleep() or something else it work for me ... :)

Darkinvo avatar Dec 18 '23 17:12 Darkinvo