steam-user-inventory
v4.2.0
Published
Get the items in user steam inventory
Downloads
17
Readme
steam-user-inventory
Get the items in user steam inventory.
Install
$ npm install --save steam-user-inventory
Usage
var steamUserInventory = require('steam-user-inventory');
steamUserInventory('awtt').then(data => {
// console.log(data);
});
API
steamUserInventory(user, game)
Return: Promise that resolve to array of objects
[
{
id
name
appid
classid
instanceid
tradable
marketable
marketTradableRestriction
link
image
category
type
exterior
quality
},
...
]
user
Type: String
Steam username or profile ID.
game
Type: String
Default 730/2/
(csgo)
Steam game id.
License
MIT © Daniel Husar