3.3.0 • Published 1 year ago

splitgate.js v3.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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()}`);
    })();
3.3.0

1 year ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago