0.0.18 • Published 3 years ago

goblox.js v0.0.18

Weekly downloads
35
License
MIT
Repository
github
Last release
3 years ago

Goblox.js

Unoffical ROBLOX API wrapper made by Fastering18.

Example

const goblox = require("goblox.js");

async function test() {
    const account = await new goblox.loginCookie("_|WARNING:-DO-NOT-SHARE-THIS...").catch(console.error);

    console.log(account) //undefined because cookie parameter isn't correct/null

    goblox.getAccountInfo("fastering18").then(re=>{
        console.log(JSON.stringify(re))  //No need cookie parameter
    }).catch(console.log);

    goblox.getStatus("fastering18").then(r=>{
        console.log(JSON.stringify(r))   //No need cookie parameter
    }).catch(console.log);

    goblox.devforum.getUser(467971019).then(devforumUser => {
        console.log(JSON.stringify(devforumUser))   //No need cookie parameter
    }).catch(console.log);
}
test()

object result for getAccountInfo() will be:

{"UserId":467971019, "Username":"Fastering18", "Description":"Fastering18 from yt", "Status":"A back-end developer that learn something quicker."}

object result for getStatus() will be:

{"Status":"A back-end developer that learn something quicker."}

Functions

const account = await new goblox.loginCookie("_|WARNING:-DO-NOT-SHARE..."); //fill it with your full ROBLOSECURITY (optional)

Put the first parameter with your .ROBLOSECURITY cookie, NOTE: roblox token is not required if you only need general account info, will not include more information like presences/etc.

account.getAccountInfo("fastering18")

First parameter is the name of ROBLOX username/user id, if its empty, then it return current information of current .ROBLOSECURITY cookie

goblox.getStatus("fastering18")

First parameter is the name of ROBLOX username/user id, return status of the user.

goblox.devforum.getUser("fastering18")

First parameter is the name of ROBLOX username/user id, return devforum information of the user.

Discord: Kei#4517, Roblox: Fastering18, Updates: added devforum.getUser and fixed pakage.json, Test: npm test

0.0.17

3 years ago

0.0.18

3 years ago

0.0.15

3 years ago

0.0.10402

3 years ago

0.0.104

3 years ago

0.0.10399

3 years ago

0.0.10401

3 years ago

0.0.10394

3 years ago

0.0.10397

3 years ago

0.0.1039

3 years ago

0.0.1038

3 years ago

0.0.1037

3 years ago

0.0.1035

3 years ago

0.0.1036

3 years ago

0.0.103

3 years ago

0.0.102

3 years ago

0.0.101

3 years ago

0.0.1

3 years ago