Jump to content

Archived

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

Potato Hero

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

Recommended Posts

Potato Hero

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.

Share this post


Link to post
Share on other sites
HusKy

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

Share this post


Link to post
Share on other sites
Bone

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.

Share this post


Link to post
Share on other sites
Potato Hero

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

Share this post


Link to post
Share on other sites
HusKy

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.

Share this post


Link to post
Share on other sites
Bone

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

Share this post


Link to post
Share on other sites
Potato Hero

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:

Share this post


Link to post
Share on other sites
Potato Hero

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

Share this post


Link to post
Share on other sites
Sasuke200

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.

Share this post


Link to post
Share on other sites
HusKy

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.

Share this post


Link to post
Share on other sites
Potato Hero

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

Share this post


Link to post
Share on other sites
fisk

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

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...