Mr Game and Watch Posted December 21, 2017 Report Posted December 21, 2017 (edited) Hello! I noticed that when I get an item from other people.. it's id change. Then, I have a question: If I have to return it... how can I make sure it's the same item? For example: I can have 2 TF2 items with the same quality, the same unusual effect and the same level. Is there a way to check it? Another "secret id" to check? Sorry if that was asked, but I didnt found it Thanks and have a nice day Edit: I found the main thread, "Identifying Steam Items", but I still don't get it, sorry Edited December 21, 2017 by Mr Game and Watch Quote
Dr. McKay Posted December 21, 2017 Report Posted December 21, 2017 The GetTradeStatus API method will give you the new IDs after the items got traded. Quote
Mr Game and Watch Posted December 21, 2017 Author Report Posted December 21, 2017 OK. I'll check it out. Thanks you so much and merry christmas Dr. McKay Quote
Mr Game and Watch Posted December 23, 2017 Author Report Posted December 23, 2017 Well... I'm stucked trying to get that work I make the trade. I confirm it and then I send a request like this: http://api.steampowered.com/IEconService/GetTradeStatus/v1/?key=*API key goes here*&format=json&tradeid=0123456789&get_descriptions=1&language=en the trade ID I send is the one I get for the confirmation. The API key is the one I have. OK. I check it before and after the trade is made... but I always get an empty JSON. What I'm doing wrong? Quote
Dr. McKay Posted December 23, 2017 Report Posted December 23, 2017 The trade ID is the tradeid property on the trade offer (from GetTradeOffers or GetTradeOffer) after it's accepted. It's not an offer ID. Quote
Mr Game and Watch Posted December 24, 2017 Author Report Posted December 24, 2017 (edited) Sorry to ask again about this, but I can't find that methods. In which modules are they? I can only find "GetOffer" or "GetOffers" on your "node-steam-tradeoffer-manager" module. (I tried that IDs, dind't work). Also, thanks for your time and happy holidays! Edit: I think I found that "tradeID", but I get always null: isOurOffer: false, created: 2017-12-24T13:58:46.000Z, updated: 2017-12-24T13:58:51.000Z, expires: 2018-01-07T13:58:46.000Z, tradeID: null, fromRealTimeTrade: false, confirmationMethod: 0, escrowEnds: null, Is this the tradeID you mean? Edited December 24, 2017 by Mr Game and Watch Quote
Dr. McKay Posted December 25, 2017 Report Posted December 25, 2017 GetTradeOffer and GetTradeOffers are the names of the API methods. getOffer and getOffers are the steam-tradeoffer-manager equivalents. tradeID only exists when the offer has been accepted. If you're using steam-tradeoffer-manager you don't need to call the API yourself; you can use getExchangeDetails. Quote
Mr Game and Watch Posted December 26, 2017 Author Report Posted December 26, 2017 Thanks. Now it works (Or looks like for me). Again, thanks you and happy holidays. You deserve the best!!! Quote
Recommended Posts
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.