Cbrrah
(Cbrah)
June 6, 2024, 2:47am
#1
I’m trying to make a script where I can enter the ID of a catalog item and have it print information about it (likes, purchases, RAP, etc.)
I’m assuming I would have to use roproxy for this or something similar, but I’m not sure.
Any ideas, guys?
Thanks for all your help!
2 Likes
U mean it?
local MarketplaceService = game:GetService("MarketplaceService")
local id = 0
print(MarketplaceService:GetProductInfo(assetId))
Cbrrah
(Cbrah)
June 6, 2024, 4:39pm
#3
If I’m not mistaken, this returns information about the item, not analytical data. I want things like the demand for the item, etc.
I’m making a system that automatically places a rarity on an item.
Any other suggestions for how I could make this work?
1 Like
Problem Solving,
You should create your own Table, and then take information from there, as I did.
local MarketplaceService = game:GetService("MarketplaceService")
local id = 7214151429
local t = {}
local a = (MarketplaceService:GetProductInfo(id))
table.insert(t,a)
local typeneed = "Name"
local typeneed2 = "PriceInRobux"
print(t[1][typeneed])
print(t[1][typeneed2])
To find out which typeneed you can use, just enter the command in the screenshot below
But personally, I don’t know if it’s possible to show likes and everything else in addition to what’s in MarketplaceService:GetProductInfo()
Cbrrah
(Cbrah)
June 7, 2024, 5:19pm
#7
It is! Rolimons has an API, and the roblox API has access to it, I just don’t know how to proxy it.