Skip to content

splitgate.js 3.2.0

Install from the command line:
Learn more about npm packages
$ npm install @47PADO47/splitgate.js@3.2.0
Install via package.json:
"@47PADO47/splitgate.js": "3.2.0"

About this version

Splitgate.js

Api wrapper for the steam game Splitgate

Installation

npm install splitgate.js

Example

    const Splitgate = require('splitgate.js');
    const v1 = new Splitgate.v1();
    const v2 = new Splitgate.v2();

    (async () => {
        await v1.login('platformAuthToken', 'authToken');
        await v2.login('platformToken');

        const status = await v1.getServerStatus();
        console.log(`Servers are ${status.isLive ? 'online' : 'offline'}`);

        const pass = await v2.getSeasonPass();
        console.log(`The season pass will end on ${new Date(pass.end).toLocaleDateString()}`);
    })();

Details


Assets

  • splitgate.js-3.2.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0