Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

charliea21/rasb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The RASB API module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published