Hi. I’m trying to make a game where it gets your created t-shirts.
I’m trying to use this link to get them: https://catalog.roblox.com/v1/search/items/details?Category=3&Subcategory=13&Limit=30&CreatorName=OnlyTwentyCharacters however it returns an error. This USED to work however it’s broken now. Any idea how to fix this?
Note: this does also happen for shirts and pants.
Trisxcal
(Ario)
March 3, 2022, 1:15pm
#2
It’s an older API version, in this topic there is an link that gets all the catalog items owned by the user. They must have an inventory open to the public in order for it to work.
API Link
https://robloxdevforumproxy.glitch.me/users/inventory/list-json?assetTypeId=TYPEID&cursor=&itemsPerPage=100&pageNumber=%x&sortOrder=Desc&userId=USERID
AssetTypeIDs
For your game it should be: T-Shirts = 2, Shirts = 11, Pants = 12
Sources
I’m making a script which checks how many items of clothing the user owns from a group, however there is 5000+ items of clothing in the group. Knowing you’d have to loop through all items, is there a “hacky” way of bypassing this?
I tried that, but it did not work.
Forummer
(Forummer)
March 5, 2022, 12:34pm
#5
You must have implemented the script incorrectly then.
Put link in my browser. Same error.
Forummer
(Forummer)
March 5, 2022, 12:50pm
#7
The vanilla link is a template, the script formats it into a working one.