Skip to content
forked from MoaufmKlo/roverify

Node.js module that fetches Roblox user data from a Discord user

License

Notifications You must be signed in to change notification settings

Miatya/roverify

 
 

Repository files navigation

roverify

npm Version npm Downloads Checks

Table of contents

About

4.43kB & dependency-free Node.js module to fetch Roblox user data from a Discord user. The module prioritizes RoVer over all other services.

Installation

Use the package manager npm to install roverify:

npm install roverify

Usage

const roverify = require('roverify');

await roverify.verify('113691352327389188')    
  .then((robloxUser) => {
      console.log(robloxUser.name)
  })
  .catch((err) => {
      if (err === 'Discord user id (argument 0) is not verified') console.log('Discord user is not verified')
      else throw err
  })

The robloxUser object returned consists of the following:

{
  'description': 'Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help',
  'created': '2006-02-27T21:06:40.3Z',
  'isBanned': false,
  'externalAppDisplayName': null,
  'id': 1,
  'name': 'Roblox',
  'displayName': 'Roblox',
  'verificationService': 'bloxlink'
}

Links

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Node.js module that fetches Roblox user data from a Discord user

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%