Skip to content
Alex Corn edited this page Oct 2, 2017 · 10 revisions

node-steam-tradeoffer-manager is a node.js module for managing Trade Offers within the Steam platform.

When you require() the module, the TradeOfferManager class is returned.

Support

To report an issue or bug, please use the issue tracker. For questions and help, please use the dedicated forum.

Examples

There are some examples available in the examples directory.

SteamID

node-steam-tradeoffer-manager uses SteamID objects in a few places. These are objects provided by the SteamID module. You can either use the SteamID property of the main TradeOfferManager export, or you can require('steamid') yourself (if you do the latter, make sure you add steamid to your package.json).

Example:

var TradeOfferManager = require('steam-tradeoffer-manager');
var SteamID = TradeOfferManager.SteamID;

var sid = new SteamID('[U:1:46143802]');
// do something with it...
Clone this wiki locally