JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q46944F
  • License MIT

Get the items in user steam inventory

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 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: '',
        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