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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hokein edited this page Oct 14, 2014
·
22 revisions
The greenworks module gives you ability to access Steam APIs, a simple example:
var greenworks = require('./lib/greenworks');
if (greenworks.initAPI()) {
console.log('Steam API has been initalized.');
} else {
console.log('Error on initializing Steam API');
}
greenworks provides the following APIs:
Steam Info APIs: such as initAPI, activateAchievement, getCurrentGameLanguage.
Cloud APIs: such as saveTextToFile, readTextToFile.
Workshop APIs: such as ugcPublish, ugcPublished, fileShare.