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.
Use the package manager npm to install rblxverify:
npm install rblxverify
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);
}
})();
{
status: 'success',
robloxID: 123456789,
robloxUsername: 'robloxUsername'
}
{
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.
}
let services = rblxverify.services;
console.log(services); //An array of possible verification services
- discordid
- guildid: (optional)
(async () => {
try {
let request = await rblxverify.bloxlink('discordid', 'guildid');
console.log(request);
}
catch (error) {
console.log(error);
}
})();
- discordid
(async () => {
try {
let request = await rblxverify.rover('discordid');
console.log(request);
}
catch (error) {
console.log(error);
}
})();
- discordid
- guildid: (optional)
(async () => {
try {
let request = await rblxverify.rowifi('discordid', 'guildid');
console.log(request);
}
catch (error) {
console.log(error);
}
})();
- discordid
- apikey
(async () => {
try {
let request = await rblxverify.rbxbolt('discordid', 'apikey');
console.log(request);
}
catch (error) {
console.log(error);
}
})();
If you need any help with this package, you can join my discord server.