Easy-to-integrate modules for your Roblox game, built on the Ranking API
This guide assumes you have already activated & set up Automatic Ranking.
BloxTech API Client
This package contains the core fundamentals to interact with the Ranking API, featuring auto-retries, a request queue, Promises and type-safety ✨
To install this package, follow these steps:
1
Generate a BloxTech API Key
Follow the steps in Ranking API to generate an API key, then continue with this guide.
2
Get the module
Go to this link on the Creator Hub, and press the blue Get Model button.
3
Enter Roblox Studio
Find your game in Roblox Studio, open the place and make sure the Explorer, Toolbox and Properties windows are visible. You can find these under the View tab.
4
Insert the BloxTech API
In the Toolbox window, navigate to the second tab and click on BloxTech Ranking API.
5
Drag the Script to ServerStorage
Click and drag the BloxTechAPI script to ServerStorage.
6
Insert your API key
Click on the BloxTechAPI script, and in the Properties window, paste the API key you generated earlier in the ApiKey field.
7
🎉 You did it!
Now that BloxTech's API is installed, you can use it in your other Scripts.
To do this, add the following two lines at the top of your Script:
local BloxTech =require(game.ServerStorage.BloxTechAPI)local BloxTechClient = BloxTech.new()
Now you can interact with BloxTechClient directly to manage your group members:
Update member rank
BloxTechClient:setRank(8460964972, 1) :andThen(function(response)-- Runs when the rank has been updated successfullyprint("Success", response)end) :catch(function(response)-- Runs when the rank couldn't be updated-- eg. because they already have this rankwarn("Error", response)end)
Accept Join Request
BloxTechClient:acceptJoinRequest(8460964972) :andThen(function(response)-- Runs when the join request has been accepted successfullyprint("Success", response)end) :catch(function(response)-- Runs when the request couldn't be accepted-- eg. because they haven't sent any request yetwarn("Error", response)end)
Reject Join Request
BloxTechClient:rejectJoinRequest(8460964972) :andThen(function(response)-- Runs when the join request has been rejected successfullyprint("Success", response)end) :catch(function(response)-- Runs when the request couldn't be rejected-- eg. because they haven't sent any request yetwarn("Error", response)end)