Rolimon's API Module
I have created a module that allows you to easily access the Rolimon’s API, it comes with several features and is available for download here. If you would prefer not to download the RBXM file, the marketplace model can be found here.
A more in depth documentation can be found on the Github repository.
Features
- Fetch the latest item data from Rolimon’s
- Detect what the change of an items RAP would be if sold at a certain price
- Fetch details for any Roblox user
- Fetch assets owned by any Roblox user
Modules Usage
Items Module
--<< NotFrindow >>--
local module = require(script.Parent.Items)
--<< Returns the item table >>--
function fetchItems()
local items = module.fetchItems()
if items.Success then
return items.Items
else
warn("Failed to fetch items")
end
end
local itemsTable = fetchItems()
print(itemsTable)
--<< Prints the item details for ROBLOX Madness Face >>--
function printMadnessFaceDetails()
local madnessFace = module.fetchItemDetails(130213380)
print("Madness Face RAP: " .. madnessFace.RAP)
end
printMadnessFaceDetails()
--<< Returns the changes in RAP if the madness face were to be sold at 1,000 robux >>--
function madnessFaceRAPChangeFrom1000()
local data = module.getRAPChangeFromItem(1000, 130213380)
if data.Success then
print("Original RAP: " .. data.OriginalRAP)
print("Expected RAP: " .. data.ExpectedRAP)
end
end
madnessFaceRAPChangeFrom1000()
--<< Prints the changes in RAP between two numbers (BestPrice, CurrentRAP) >>--
function getRAPChangeFrom2000IfSoldAt1000()
local data = module.getRAPChange(1000, 2000)
print("Original RAP: " .. data.OriginalRAP)
print("Expected RAP: " .. data.ExpectedRAP)
end
getRAPChangeFrom2000IfSoldAt1000()
--<< Prints the current amount of limiteds in the Rolimon's database >>--
function printItemCount()
local data = module.getItemCount()
if data.Success then
print(data.ItemCount)
end
end
printItemCount()
Players Module
--<< NotFrindow >>--
local module = require(script.Parent.Players)
--<< Prints a table which includes the players assets >>--
function fetchPlayerAssets(userId)
local data = module.fetchPlayerAssets(userId)
if data.Success then
print(data.PlayerAssets)
end
end
fetchPlayerAssets(491970127)
--<< Prints various information about the player >>--
function fetchUserDetails(userId)
local data = module.fetchUserDetails(userId)
if data.Success then
print("Is terminated? " .. data.Terminated)
print("Inventory private? " .. data.PrivacyEnabled)
end
end
fetchUserDetails(491970127)
Changelog
1.3.0 (2/6/24)
-
fetchItems()
now returns a table -
fetchItemDetails()
now returns a table -
getRAPChangeFromItem()
now returns a table -
getRAPChange()
now returns a table -
getItemCount()
now returns a table -
fetchUserDetails()
now returns a table
1.2.0 (9/12/23)
- Functions will now return values instead of updating values inside of the modules
- Function datatypes are now shown
- Renamed some functions
- Merged the
UserAssets
andUserDetails
modules into one module calledPlayers
- The RBXM file now includes the example scripts for easy accessibility
- Uploaded the module to the marketplace, it can be located here