-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kristjan Kirpu edited this page Feb 24, 2016
·
13 revisions
There are some examples available in the examples directory.
SteamMarketManager
is the root object that node-steam-market-manager
exports. You'll need to instantiate it.
var SteamMarketManager = require('steam-market-manager');
var market = new SteamMarketManager({
"appID": 730
});
-
options
- Optional. An object containing any or all of the following options:-
appID
- Optional. Will define the default application id when fetching market prices. -
currency
- Optional. Specifies in which currency the values should be. (1 - USD, 3 - EUR (default)) -
keepCurrencySymbols
- Optional. Steam by default returns currency symbols too (ex. 12,99€). This defaults to false and will remove the symbols.
-
-
name
- Required. The market_hash_name for the item. (Ex. "StatTrak™ CZ75-Auto | The Fuschia Is Now (Well-Worn)" without quotes) -
currency
- Optional. Will default to Constructor's value if not set. -
appID
- Optional. Will default to Constructor's value if not set. Required if you did not set the value in Constructor. -
includeFloat
- Optional. Will default to Constructor's value if not set. -
callback
- Required.-
err
-null
on success. -
item
- Steam JSON response.
-