Answer the question
In order to leave comments, you need to log in
Load steam inventory?
Hello. I have a problem similar to the post How to get a list of things in the inventory in steam?
In general, there is a ready-made trading bot, ready-made pages where inventory should be displayed. But when the page is refreshed 3 times per minute, an error 429 is displayed
. I decided to write the inventory of each user to the file. But - when and how is it better to do it? When registering - it is doubtful, what if more than 3 people register in one minute? When you go to the exchange page - the same thing. In general, all my ideas collapse with the fact that an action can be performed by several people at once.
PS So far, the most normal thing I've come up with is to create a file with his inventory after registering a user (or after he adds tradeurl - it doesn't matter). If more than three users have registered in a minute, the file is not created. But in this case there is a "spare wheel" - on the page where the inventory is displayed, check if there is a file with the user's inventory - display skins, otherwise - display the "update inventory" button. When you click on the button, it immediately disappears and an ajax request is sent to create an inventory file.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question