Roblox Rest API
The easiest way to get data about a user from Roblox is to use the Roblox REST API.
Requiring the Roblox REST API
const user = require('roblox-rest-api');
Now to get a user's info (Using
.then
method)
user('Headgehog5')
.then(response => {
console.log(response)
})
Using
async
function
(async () => {
const response = await user('Headgehog5');
console.log(response)
})();
For support join the support server: Click Here
Created by Server Developer#9447