Hey! I am trying to make a game that gets recently released items and prints them into output. The only thing is though, is that I cannot find the right API for that job. I assumed it was in this webpage of API’s, but I can’t find it there. I tried using the following API:
but I assume I didn’t have access or something else went wrong. Keep in mind I am sending these HTTP requests from Roblox. Here is the following code I used:
local http = game:GetService("HttpService") -- might be spelt wrong
local url = "https://catalog.roproxy.com/v1/catalog/items/details"
local data = {
["items"] = {
{
["itemType"] = 11, -- the type of catalog thing; i chose acessory
["id"] = 12992891681 -- random ugc item i found
}
}
}
local finalData = http:JSONEncode(data)
http:PostAsnyc(url, finalData)
I apologize if I mispelt anything; I hand re-wrote the code
I assumed it would return something, but it didn’t.