Gadi_boy Posted April 10, 2018 Report Share Posted April 10, 2018 Hi, I want to get item trade lock date, to show to my users how many days that item has trade-lock. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 10, 2018 Report Share Posted April 10, 2018 Pull your inventory, find the owner_description that contains the date, and parse it. Quote Link to comment Share on other sites More sharing options...
Gadi_boy Posted April 11, 2018 Author Report Share Posted April 11, 2018 (edited) I use getUserInventoryContents() from trade-offer-manager and that field doesn't exist in CEconItem. What am I doing wrong? amount:1 appid:730 assetid:"14382806239" background_color:"" classid:"2785036672" commodity:true contextid:"2" descriptions:Array(24) [Object, Object, Object, …] fraudwarnings:Array(0) [] icon_url:"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXU5A1PIYQNqhpOSV-fRPasw8rsUFJ5KBFZv668FFY2nfKadD4U7Y7lwYXexaGlYb3QzjlUvZ0k0ujHptug2VbirkRrNW2md4SLMlhph09hpX0" id:"14382806239" instanceid:"0" is_currency:false market_hash_name:"Spectrum Case" market_marketable_restriction:0, market_name:"Spectrum Case" market_tradable_restriction:7 marketable:true name:"Spectrum Case" name_color:"D2D2D2" pos:1 tags:Array(4) [Object, Object, Object, …] tradable:false type:"Base Grade Container" Edited April 11, 2018 by Gadi_boy Quote Link to comment Share on other sites More sharing options...
Gadi_boy Posted April 11, 2018 Author Report Share Posted April 11, 2018 (edited) And when I pull inventory from https://steamcommunity.com/profiles/<profileID>/inventory/json/730/2some of the items don't have descriptions. FOUND SOLUTION: cookies in request Edited April 11, 2018 by Gadi_boy Quote Link to comment Share on other sites More sharing options...
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.