API

Start Using the Module:

HTTPS Must be enabled!!

First we need to create a new Project on RovolutionLogistics 1.) RovolutionLogistics - Dashboard, you may need to sign in with Discord! 2.) Click create new project!

3.) Enter a project name, and then click next! 4.) Now select Roblox API

5.) Now enter your Ranking accounts Roblox token, in Roblox User Token box. To get your token follow the guide below!

6.) Now click download the code snippet, this will automatically add your API key and Project ID, you can open this in notepad or go to Roblox and right click on ServerScriptService and select Insert from File and insert it!


Get Roblox Login Token:

Roblox tokens are what unlocks an account, they allow users to spend your Robux, trade your items and edit your games! Please always use a alternate Roblox account and never share your token! If you know what you are doing please continue the guide below:

Click the padlock on the address bar!

image

Then click Cookies:

image

image

Select all:

image And then copy the cookie into Rovolution Logistics!

Using the API Wrapper:

Example code:

-- Example using the Rovolution API --
local Rovolution_Module = require(9520664531).default -- Default because of the way the wrapper is written

local ProjectID = "TEST_PROJECT_ID"
local API_KEY = "TEST_API_KEY"

local API = Rovolution_Module.new(ProjectID, API_KEY)

-- Now we can talk to the API

-- For example promote a user
local groupID = 7535264 -- Rovolution Group
local userID = 3152860974 -- A test account

API:PromoteUser(groupID, userID)

Current wrapper functions:

The wrapper exposes 5 functions, we aim to implement more.

API:PromoteUser(groupID, userID)
API:DemoteUser(groupID, userID)
API:AcceptJoinRequest(groupID, userID)
API:RejectJoinRequest(groupID, userID)
API:ExileUser(groupID, userID)
API:SetRank(groupID, userID, rank)

Using the API without the Wrapper:

Base URL - https://roblox.rovolution.me/api/v1/roblox-api/

Only POST requests accepted!

Example lua code

local HttpService = GetService("HttpService")
local json_Serialised = HttpService:JSONEncode({
            projectID = "ENTER_PROJECT_KEY_HERE",
			apiKey = "ENTER_API_KEY_HERE",
			data = {
                   groupID = "ENTER_GROUP_TO_PROMOTE_IN",
                   userID = "ENTER_USER_USERID",
            },
}) 
HttpService:PostAsync("https://roblox.rovolution.me/api/v1/roblox-api/promoteUser", json_Serialised)

API Routes:

  • checkKey

  • promoteUser

  • demoteUser

  • exileUser

  • acceptJoinRequest

  • denyJoinRequest

  • setRank

Contributions:

Contributions are always welcome, github.com/RovolutionTeam/Rovolution-Roblox-API-Wrapper We are using Roblox-TS to convert TS to LUA.

Further Assistance:

If you require any further assistance with the Ranking API you can join the Rovolution Support server.

Last updated

Was this helpful?