goblox.js
Version:
Unoffical ROBLOX API wrapper made by Fastering18.
19 lines (12 loc) • 600 B
JavaScript
const goblox = require('./lib/main.js');
(async (name) => {
const account = await new goblox.loginCookie("_|WARNING:-DO-NOT-SHARE-THIS...").catch(console.error);
console.log(account); //undefined because token is invalid
goblox.getAccountInfo(name).then(re => {
console.log(JSON.stringify(re, null, 3))
goblox.getStatus(re.UserId).then(r => {
console.log(JSON.stringify(r, null, 3))
});
}).catch(console.log);
//goblox.devforum.getUser(467971019).then(console.log).catch(console.log);
})("fastering18");