Potato Hero Posted July 4, 2014 Share Posted July 4, 2014 Hi, I would like to implement trading bot that will use backpack.tf for publishing items for sale. Do You know about any (probably closed for public) API for creating and removing classified listings or don't You know about any open source .NET or node.js project that implement this or is there anybody who would be interested in sharing their own implementation (probably for some sweets :3) ? Thanks, Potato P.S. I don't wanna be one of those crazy relisters. I want to trade only unusual hats. Link to comment Share on other sites More sharing options...
Status Update Nazi Posted July 4, 2014 Share Posted July 4, 2014 Are you looking for this? http://backpack.tf/api/classifieds Link to comment Share on other sites More sharing options...
HusKy Posted July 4, 2014 Share Posted July 4, 2014 No API for posting classifieds (afaik) but it's still very easy to automate it. Link to comment Share on other sites More sharing options...
Bone Posted July 4, 2014 Share Posted July 4, 2014 No api, as husky said, Just wanted to tell you, if you are making a unusual buy-sell bot, i had made one for a customer. Hs main account and his bot, both got perm banned on outpost because scammers can empty their load into the bots and sell keys on paypal. Link to comment Share on other sites More sharing options...
Potato Hero Posted July 4, 2014 Author Share Posted July 4, 2014 No api, as husky said, Just wanted to tell you, if you are making a unusual buy-sell bot, i had made one for a customer. Hs main account and his bot, both got perm banned on outpost because scammers can empty their load into the bots and sell keys on paypal. I'm gonna check all users via http://rep.tf/, check profile privacy, inventory privacy, number of games, friends, outpost trades etc... Simply do the same checks as I do when I trade irl. No API for posting classifieds (afaik) but it's still very easy to automate it. Daum, I'm so lazy to automate authentication ;-; But it seems that I will have to do it. Or is there any simple way? Like use only some sessionid from browser or something like that? Are you looking for this? http://backpack.tf/api/classifieds You cannot post new listings or delete new over this api Link to comment Share on other sites More sharing options...
Bone Posted July 4, 2014 Share Posted July 4, 2014 That's a good idea. good luck making it Link to comment Share on other sites More sharing options...
HusKy Posted July 4, 2014 Share Posted July 4, 2014 Or is there any simple way? Like use only some sessionid from browser or something like that? Yes, this will work and you will skip the whole OpenID thing. Link to comment Share on other sites More sharing options...
Bone Posted July 4, 2014 Share Posted July 4, 2014 Yes, this will work and you will skip the whole OpenID thing. not really. if you are using steambot, you need to re-add the cookies and then work your way around Link to comment Share on other sites More sharing options...
Potato Hero Posted July 4, 2014 Author Share Posted July 4, 2014 not really. if you are using steambot, you need to re-add the cookies and then work your way around Yeah, I think so. I'll do it from scratch. HttpRequests, HttpRequests everywhere Link to comment Share on other sites More sharing options...
Potato Hero Posted July 4, 2014 Author Share Posted July 4, 2014 Daum, backpack.tf returns error 500 after few unsuccessfull login request *sad violin*. I hope that it is not IP permaban :3 Link to comment Share on other sites More sharing options...
Sasuke200 Posted July 5, 2014 Share Posted July 5, 2014 Daum, backpack.tf returns error 500 after few unsuccessfull login request *sad violin*. I hope that it is not IP permaban :3 Change the user agent to a normal one, some sites will block you if it is the one C# uses for http requests. Outpost does this aswell. Link to comment Share on other sites More sharing options...
HusKy Posted July 5, 2014 Share Posted July 5, 2014 not really. if you are using steambot, you need to re-add the cookies and then work your way around Yes, you will need the cookie data. I was pointing at that. Link to comment Share on other sites More sharing options...
Potato Hero Posted July 6, 2014 Author Share Posted July 6, 2014 Fine, I just finished bp.tf authentication. Working with listings works like a charm The most painfull part of this was implementing OpenID thing on Steam side * and the second biggest pain in ass is that IGetUserListings API do not include listing-id. I had to parse classified listing page by myself intead of using JSON API Link to comment Share on other sites More sharing options...
Potato Hero Posted July 9, 2014 Author Share Posted July 9, 2014 Aaaaand done http://steamcommunity.com/id/potatoherobot2/ :3 Link to comment Share on other sites More sharing options...
Administrators fisk Posted July 11, 2014 Administrators Share Posted July 11, 2014 I'll be adding a listing ID to the v1 API in the next patch, it's not a destructive change so it shouldn't matter Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.