Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
/ RBLXVerify Public archive

A package that allows you to easily interact with Roblox verification APIs.

Notifications You must be signed in to change notification settings

SoCuul/RBLXVerify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RBLXVerify

Version Downloads Discord

Table of contents

About

RBLXVerify allows you to easily interact with Roblox verification APIs, in a simple 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.

About

A package that allows you to easily interact with Roblox verification APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published