Deadwoodx
(Deadwoodx)
February 20, 2022, 10:38am
#1
There is a game called pls donate where it adds all your clothing and I’ve checked many posts and tried the below api to get info of all player shirts and pants to do the same thing:
https://www.roblox.com/users/inventory/list-json?assetTypeId=11&cursor=&itemsPerPage=10&pageNumber=1&sortOrder=Desc&userId=1606095040
https://robloxdevforumproxy.glitch.me/users/inventory/list-json?assetTypeId=11&cursor=&itemsPerPage=100&pageNumber=%x&sortOrder=Desc&userId=1606095040
However, this only works for me, when others players join your game and claim a stand, its not getting it, the data is null and those players shirts and pants are not displaying
Anyone pls tell me how to get all players shirts and pants
1 Like
Deadwoodx
(Deadwoodx)
February 20, 2022, 11:01am
#2
Does anyone know atleast any api?
Deadwoodx
(Deadwoodx)
February 20, 2022, 11:07am
#3
There is another game which does the same thing too
https://www.roblox.com/games/5661340541/Donation-Simulator-VOICE-CHAT
Tell how to get all shirts and pants of player pls
Forummer
(Forummer)
February 20, 2022, 2:35pm
#4
local http = game:GetService("HttpService")
local baseUrl = "https://catalog.roproxy.com/v1/search/items/details?Category=3&Subcategory=13&Limit=30&CreatorName=%s&cursor=%s"
local function getUserGeneratedTShirtsRecursive(username, tshirts, cursor)
tshirts = tshirts or {}
cursor = cursor or ""
local requestUrl = baseUrl:format(username, cursor)
local success, result = pcall(function()
return http:GetAsync(requestUrl)
end)
if success then
if result then
local success2, result2 = …
This has been asked fairly frequently recently, I hope this helps.
1 Like