Skip to content

mdm-skins/steam-user-inventory

Repository files navigation

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

About

Get the items from user steam profile inventory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •