analyzer.js
v1.0.0
Published
A Node.js library for analyzing Roblox user profiles and public data.
Downloads
155
Maintainers
Readme
Analyzer.js
A simple Node.js library for analyzing Roblox user profiles using the official Roblox API.
Features
- 👤 Get user profile
- 🖼️ Get user avatar
- 👥 Get friends list
- 👪 Get groups
- 🏅 Get badges
- 🎮 Get created games
Installation
npm install analyzer.jsUsage
const Analyzer = require("analyzer.js");
(async () => {
const user = await Analyzer.user("Builderman");
console.log(user);
const avatar = await Analyzer.avatar(user.id);
console.log(avatar);
const friends = await Analyzer.friends(user.id);
console.log(friends);
const groups = await Analyzer.groups(user.id);
console.log(groups);
const badges = await Analyzer.badges(user.id);
console.log(badges);
const games = await Analyzer.game(user.id);
console.log(games);
})();API
Analyzer.user(username)
Get a Roblox user profile.
const profile = await Analyzer.user("Builderman");Analyzer.avatar(userId)
Get a Roblox user's avatar.
const avatar = await Analyzer.avatar(156);Analyzer.friends(userId)
Get a Roblox user's friends.
const friends = await Analyzer.friends(156);Analyzer.groups(userId)
Get all groups joined by a Roblox user.
const groups = await Analyzer.groups(156);Analyzer.badges(userId)
Get badges owned by a Roblox user.
const badges = await Analyzer.badges(156);Analyzer.game(userId)
Get games created by a Roblox user.
const games = await Analyzer.game(156);Requirements
- Node.js 18 or newer
License
MIT License
