@secureservice/api

1.0.2 • Public • Published

secureservice api

the module for the secureservice ranking api

https://www.secureservice.app

raw api docs: https://docs.secureservice.app

Installation

npm install @secureservice/api

Usage

const secureservice = require('@secureservice/api');

const gamekey = 'your gamekey';
const groupId = 'your group id';

const client = new secureservice(gamekey, groupId);

// promote a user
await client.promote('user id');

// demote a user
await client.demote('user id');

// accept a join request
await client.handleJoinRequest('user id', true);

// decline a join request
await client.handleJoinRequest('user id', false);

// shout 'SecureService rocks'
await client.shout('SecureService rocks');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @secureservice/api

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

3.41 kB

Total Files

3

Last publish

Collaborators

  • texxte7