zujs Posted June 22, 2020 Report Share Posted June 22, 2020 Hello everyone! I'm getting inventory through https://steamcommunity.com/inventory/{steamID}/{appID}/{contextID} and i receive data below { assets: [ { appid: 570, contextid: '2', assetid: '18658815551', classid: '825180652', instanceid: '3861633480', amount: '1' } ], descriptions: [ { appid: 570, classid: '825180652', instanceid: '3861633480', currency: 0, background_color: '', icon_url: '-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KW1Zwwo4NUX4oFJZEHLbXP7g1bJ4Q1lgheXknVSffixc7aXlh6MTtYsIWxIwJfwPLLYzhG0966m5OYmPrLP7TQkmJf7_piifvE8IK7iwXt8kBpNmDzcY-ddlM4Mg3ZqQS_yO_p08Du7ZmdnSQw63Rx4CnZmgv330-knDPovw', icon_url_large: '-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KW1Zwwo4NUX4oFJZEHLbXP7g1bJ4Q1lgheXknVSffixc7aXlh6MTtYsIWxIwJfwPLLYzhG0966m5OYmPrLP7TQkmJf7_piifvE8ILKhFWmrBZyajugJY6UIwFqYAvQ_Ae7yb_rhZa-vpjNmHsxuih3tyvenRS0iE0YZ_sv26Jnx2ogxA', descriptions: [Array], tradable: 0, name: 'Loading Screen of the Sacrosanct', name_color: 'D2D2D2', type: 'Uncommon Loading Screen', market_name: 'Loading Screen of the Sacrosanct', market_hash_name: 'Loading Screen of the Sacrosanct', commodity: 0, market_tradable_restriction: 7, market_marketable_restriction: 0, marketable: 1, tags: [Array] } ], total_inventory_count: 1, success: 1, rwgrsn: -2 } you can see "tradable" field is 0 (it mean can't trade at the moment). How to get a timeline to calculate count down time for tradable item. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 22, 2020 Report Share Posted June 22, 2020 It's probably in the descriptions array somewhere. zujs 1 Quote Link to comment Share on other sites More sharing options...
zujs Posted June 22, 2020 Author Report Share Posted June 22, 2020 1 hour ago, Dr. McKay said: It's probably in the descriptions array somewhere. Very well, thank you so much! 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.