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-robloxapiUsage
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.