So for example if I would want to get the name,. created date and the thumbnail (image of the item) what would I have to do to achieve this. (using the id of the item)
Use this id as an example: 21070012
The example is a dominus: Dominus Empyreus - Roblox
2 Likes
this appears to still work
Pretty sure this is just:
local MarketplaceService = game:GetService("MarketplaceService")
local assetId = 0
-- Be warned, this errors with an invalid asset ID (pcall recommended):
print(MarketplaceService:GetProductInfo(assetId))
Ok I just checked and it works but the only thing idk how to do is the image of the hat
You can use this:
"https://www.roblox.com/asset-thumbnail/image?assetId="..assetId.."&width=420&height=420&format=png"
You can check more about it here !
1 Like
system
(system)
Closed
June 13, 2024, 4:17am
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.