rasb

1.0.1 • Public • Published

RASB API

A NPM package for interacting with the RASB Web API

Getting Started

In order to use the RASB API you must obtain an API key.

Example

const rasb = require("rasb");
var RASB = new rasb("api key");

// Check if a user is banned

RASB.isUserBanned("12345").then((banned) => {
  if (banned) {
    console.log("User is banned!");
  } else {
    console.log("User isn't banned!");
  }
}).catch((err) => {
  console.log("Error processing request! " + err);
});

See the wiki for more information.

Readme

Keywords

Package Sidebar

Install

npm i rasb

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

7.97 kB

Total Files

4

Last publish

Collaborators

  • xcharliex