Package Exports
- steam-user-inventory
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steam-user-inventory) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
steam-user-inventory 
Get the items in user steam inventory.
Install
$ npm install --save steam-user-inventoryUsage
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: '',
link: '',
image: '',
category: '',
type: '',
exterior: '',
quality: ''
},
...
]user
Type: String
Steam username.
game
Type: String
Default 730/2/ (csgo)
Steam game id.
License
MIT © Daniel Husar