Medic Bot Posted November 9, 2020 Share Posted November 9, 2020 I have recently resurrected my old trade bot, fixed some things and improved others but i've noticed that it does NOT refresh it's backpack on the website (therefore its unable to resell what it buys). Back when i used to run this trade bot i used the same call that you send with the browser when you refresh your backpack manually from the website (https://backpack.tf/_inventory/STEAMID?&source=steam&fallback=true) as suggested by an user on the forums centuries ago and because oauth is a disgrace. It used to work flawlessy, now it gets some cloudflare stuff when making that call so i suppose bots have been disallowed from using it and i wonder: is oauth the only option now or is there another one that i'm not aware of? Link to comment Share on other sites More sharing options...
Zeus_Junior Posted November 9, 2020 Share Posted November 9, 2020 A POST to /api/inventory/{steamid}/refresh with post data { "token": "yourusertoken" } Returns { "current_time": 1604960875, "last_update": 1604960872, "timestamp": 1604960872, "next_update": 1604961052, "refresh_interval": 180 } Should do the trick Link to comment Share on other sites More sharing options...
Medic Bot Posted November 9, 2020 Author Share Posted November 9, 2020 yep, it seems to work, thank you very much for the quick and helpful reply! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.