How could I get data from limiteds? I'm trying to get the items for sale on a specific limited And check if mine is the lowest, if not then notify me
COMMUNITY QUESTION
How could I get data from limiteds?
2 answers
If you're talking about in roblox: http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo
If you're talking about off-site: http://wiki.roblox.com/index.php/Web_APIs#Get_information_about_an_asset
1 comment
0
He means see the listings for the item.
I assume that you are referring more about the current sellers of limiteds.
To do this you need to send the following request:
local assetId = 1560601706; -- example: https://www.roblox.com/catalog/1560601706/Counterfeit-Domino-Crown
local startIndex = 0;
local maxRows = 20;
-- note the productId is required, not the assetId
local productId = game:GetService("MarketplaceService"):GetProductInfo(assetId).ProductId;
local requestLink = string.format("https://assetgame.roblox.com/asset/resellers?productId=%d&startIndex=%d&maxRows=%d", productId, startIndex, maxRows);
-- unfortunately we can't use the http service to make requests to roblox domains so paste result into your browser address bar to see result
print(requestLink);
That's the jist of it...
2 comments
0
Btw I meant for this to be used outside of a roblox game
0
Well this is still the answer just use get with jQuery or whatever...
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
(meant for use outside of a roblox game)