steam-user-inventory

4.2.0 • Public • Published

steam-user-inventory Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i steam-user-inventory

Weekly Downloads

0

Version

4.2.0

License

MIT

Last publish

Collaborators

  • efrafa