splitgate.js 1.0.0
Install from the command line:
Learn more about npm packages
$ npm install @47PADO47/splitgate.js@1.0.0
Install via package.json:
"@47PADO47/splitgate.js": "1.0.0"
About this version
Api wrapper for the steam game Splitgate
npm install splitgate.js
const { Splitgate } = require('splitgate.js');
const splitgate = new Splitgate();
(async () => {
await splitgate.login('platformAuthToken', 'authToken');
const status = await splitgate.getServerStatus();
console.log(`Servers are ${status.isLive ? 'online' : 'offline'}`);
})();