Skip to content

Latest commit

 

History

History
256 lines (168 loc) · 5.12 KB

README 2.md

File metadata and controls

256 lines (168 loc) · 5.12 KB

FunBlox

We are a Roblox API wrapper on development! (Contact us : fedee#9606 / DogeFlexJosh#0656)

Project Information

FunBlox is an API wrapper for ROBLOX that was developed at the time with JS after two months it was reverted to a package made with TS, today our developers work to add more functions.

CircleCI FOSSA Status NPM package

Instructions

How install FunBlox using NPM?

npm i funblox.js

Documentation Information

If the variable contains "!" means you can use string too. (Groupname/username)
If the variable contains "?" means it's an optional variable
If the variable contains "*" means the value should be a boolean. (true, false)

Login functions

setCookie

const roblox = require("funblox.js")

roblox.setcookie("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

User Functions

getUser

const roblox = require("funblox.js")

roblox.getUser("!user_id").then(respon => {
    console.log(respon)
}).catch((err) => {
    console.log(err)
})

getPlayerThumbnail

const roblox = require("funblox.js")

roblox.getPlayerThumbnail("!user_id", "size", "format", "*isCircular?").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

getUserFavoriteGames

const roblox = require("funblox.js")

roblox.getUserFavoriteGames("user_id").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

getUserBundles

const roblox = require("funblox.js")

roblox.getUserBundles("user_id").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

getUserRank

const roblox = require("funblox.js")

roblox.getUserRank("groupid", "!userid").then(respon => {
    console.log(respon)
}).catch((err) => {
    console.log(err)
})

Group Functions

getGroup

const roblox = require("funblox.js")

roblox.getGroup("!groupid").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

Promote

const roblox = require("funblox.js")

roblox.promote("groupid", "!username").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

Demote

const roblox = require("funblox.js")

roblox.demote("groupid", "!username").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

setRank

const roblox = require("funblox.js")

roblox.setRank("groupid", "username", "newRankId").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

groupPayout

const roblox = require("funblox.js")

roblox.groupPayout("groupid", "userid", "amount", "*recurring?", "*percentage?").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

groupPayout

const roblox = require("funblox.js")

roblox.getGroupFunds("groupid").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

Category Functions

getCategories

const roblox = require("funblox.js")

roblox.getCategories().then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

getFavoritesOfBundle

const roblox = require("funblox.js")

roblox.getFavoritesOfBundle("bundleId").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

getFavoritesOfItem

const roblox = require("funblox.js")

roblox.getFavoritesOfItem("itemId").then(res => {
    console.log(res);

}).catch((err) => {
    console.log(err)
})

Package information

Package information
Maintained
Active Support
Developers @fedeetide, @Joshuadl12

License | This package is under license (MIT). License description:

A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

FOSSA Status