API Reference

Haojian Wu edited this page Aug 15, 2016 · 22 revisions

NOTE: The content in this wiki is available to v0.5.3 and earlier versions. For official documentation on v0.6.0 or later, see docs.

The greenworks module gives you ability to access Steam APIs, a simple example:

var greenworks = require('./greenworks');

if (greenworks.initAPI()) {
  console.log('Steam API has been initalized.');
} else {
  console.log('Error on initializing Steam API');
}

greenworks provides the following APIs:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.