Jump to content
McKay Development

How to get "item_type" from "for_tradingcard=<appid>_<??>"


Carje

Recommended Posts

Hello!

 

After a successful trade, I want to get the item_type (not sure if this is the correct name) for the item(s) - Card, Background, Emoticon or Booster.

If you want to send an offer and request a specific item from steam inventory you can do it with this format:

https://steamcommunity.com/tradeoffer/new/?partner=<steamID3>&token=<token>&for_tradingcard=<appid>_<??>

From my research I've seen that the number which correlate with the item is given by the developer and doesn't follow any pattern.

Is there a way to get it after the trade is completed or from inventory? If not, any other way to get it in order to create a database.

 

Thank you!

Link to comment
Share on other sites

I believe that too, and I see that for some games there are a few numbers missing from the sequence, probably they removed them afterward.

Do you know any other in which I can create the link?

I see that steamcardexchange uses this type of link for all their cards. I suppose there might be a way, unless they scrapped all the cards from the badge pages, which I doubt, since you'll need a friend that owns all the cards

 

Thank you!

Link to comment
Share on other sites

Yes, it is the same item_type (this is why I called it this way). But the problem is that you get in response only the value in gems, you don't know which item_type is which card or background, etc. If I check values between 2 and 40 (maybe?), I may get them all and then separate based on the amount of gems you receive. This will asume to have around 1 milion calls and would most probably won't be accurate.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...