Jump to content

API or example for working with Classified Listings in C# .NET


Potato Hero

Recommended Posts

Posted

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.

Posted

No API for posting classifieds (afaik) but it's still very easy to automate it.

Posted

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.

Posted

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

Posted

That's a good idea. good luck making it

Posted

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.

Posted

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

Posted

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 :wacko:

Posted

Daum, backpack.tf returns error 500 after few unsuccessfull login request *sad violin*. I hope that it is not IP permaban :3

Posted

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.

Posted

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.

Posted

Fine, I just finished bp.tf authentication. Working with listings works like a charm B)  The most painfull part of this was implementing OpenID thing on Steam side :wacko:

 

* 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 :(

  • Administrators
Posted

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...