-
Notifications
You must be signed in to change notification settings - Fork 155
API Reference
Haojian Wu edited this page Sep 5, 2015
·
22 revisions
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:
- Steam Info APIs: such as initAPI, activateAchievement.
- Cloud APIs: such as saveTextToFile, readTextFromFile.
- Workshop APIs: such as ugcPublish, ugcPublished, fileShare.
- Utils APIs: such as createArchive, extractArchive, move.
- Steam Authentication APIs: such as getAuthSessionTicket, cancelAuthTicket, getEncryptedAppTicket.