JSPM

js-robloxapi

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q46373F
  • License ISC

Get info the api roblox

Package Exports

  • js-robloxapi

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-robloxapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Roblox api referential

This is a list of useful objects from roblox users, supported by Roblox at http://api.roblox.com/docs.

Install

$ npm install --save js-robloxapi

Usage

const jsroblox = require('js-robloxapi');


jsroblox.getInfo('UsernameRoblox', (data) => {
    if (!data) return console.log('User not found!');   
    console.log(`Roblox UserName: ${data.Name}, Roblox Id: ${data.Id}, Roblox Friends: ${data.TotalFriends}`);

});

OBJECTS

# Name         : Username in roblox.
# Id           : Id in roblox.
# Online       : State in roblox.
# TotalFriends : Total of friends in roblox.
# Avatar       : Avatar in roblox.
# AvatarMin    : Avatar mode miniature in roblox.
# ListFriends  : Friends list in roblox.
# ListBadges   : List of badges in roblox.
# ListGroup    : Groups list in roblox. 

REFERENCE

ROBLOX API DOC