-
-
Notifications
You must be signed in to change notification settings - Fork 135
Home
Alexander Corn edited this page May 15, 2015
·
10 revisions
node-steam-tradeoffer-manager
is a node.js/io.js module for managing Trade Offers within the Steam platform.
It's currently in beta.
To report an issue or bug, please use the issue tracker. For questions and help, please use the SteamRE Steam Group.
node-steam-tradeoffer-manager
uses SteamID
objects in a few places. These are objects provided by the SteamID module. Due to potential version mismatches, use the SteamID
module exported as a SteamID
property from the main module.
Example:
var TradeOfferManager = require('steam-tradeoffer-manager');
var SteamID = TradeOfferManager.SteamID;
var sid = new SteamID('[U:1:46143802]');
// do something with it...
Static methods are methods which are called directly as properties of the root TradeOfferManager
object, without it being instantiated.
-
state
- A value fromETradeOfferState
Gets the English name of a value from ETradeOfferState
. Example:
var TradeOfferManager = require('steam-tradeoffer-manager');
console.log(TradeOfferManager.getStateName(3)); // "Accepted"