1.1.3 • Published 3 years ago

rblxverify v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

RBLXVerify

Version Downloads Discord

Table of contents

About

RBLXVerify allows you to easily interact with Roblox verification APIs, in a simple-to-use npm package. You can switch between the Bloxlink, RoVer, RoWifi and RBXBolt APIs, with almost zero code changes. You don't even need to make a seperate request to get the user's Roblox username.

Installation

Use the package manager npm to install rblxverify:

npm install rblxverify

Usage

const rblxverify = require('rblxverify');

(async () => {
    try {
        console.log(await rblxverify.bloxlink('discordid'));
        console.log(await rblxverify.rover('discordid'));
        console.log(await rblxverify.rowifi('discordid'));
        console.log(await rblxverify.rbxbolt('discordid', 'apikey'));
    }
    catch (error) {
        console.log(error);
    }
})();

Schemas

Success

{
    status: 'success',
    robloxID: 123456789,
    robloxUsername: 'robloxUsername'
}

Error

{
    status: 'error',
    errorCode: 123,
    errorType: 'bloxlink', //Can be verification api name, roblox or node
    error: 'There was an error.', //The formatted error. May be null.
    rawError: { status: 'error', error: 'There was an error.' } //The raw error. May be null.
}

Functions

.services

Example:

let services = rblxverify.services;
console.log(services); //An array of possible verification services

.bloxlink()

Params:

  • discordid
  • guildid: (optional)

Example:

(async () => {
    try {
        let request = await rblxverify.bloxlink('discordid', 'guildid');
        console.log(request);
    }
    catch (error) {
        console.log(error);
    }
})();

.rover()

Params:

  • discordid

Example:

(async () => {
    try {
        let request = await rblxverify.rover('discordid');
        console.log(request);
    }
    catch (error) {
        console.log(error);
    }
})();

.rowifi()

Params:

  • discordid
  • guildid: (optional)

Example:

(async () => {
    try {
        let request = await rblxverify.rowifi('discordid', 'guildid');
        console.log(request);
    }
    catch (error) {
        console.log(error);
    }
})();

.rbxbolt()

Params:

  • discordid
  • apikey

Example:

(async () => {
    try {
        let request = await rblxverify.rbxbolt('discordid', 'apikey');
        console.log(request);
    }
    catch (error) {
        console.log(error);
    }
})();

Support

If you need any help with this package, you can join my discord server.

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago