Skip to content

Catalog API

JohnMackYouTube05 edited this page Jan 27, 2021 · 1 revision

The Catalog class has functions for retrieving information from catalog items, as well as player inventories.

Functions

Categories()

Returns all possible categories.

Return Type: Dictionary


Subcategories()

Returns all possible subcategories.

Return Type: Dictionary


listExclusiveItems(appStore)

Returns all exclusive items for 1 of 4 valid app stores. Valid App Store Arguments are:

  • Xbox
  • Amazon
  • iOS
  • Google Play

You must type the app store as a string exactly as typed above for the function to work. Example:

Catalog.listExclusiveItems("Xbox")

Output:

[{'id': 22, 'name': 'Tohru: The Phantom Claw', 'description': ' “No one can withstand my fist. Allow me to show you my phantom claw!”\r\n\r\nThought to be the descendant of the legendary Shinobi King of the Steel Tiger Clan, Tohru was shamefully exiled from his village after he was found sneaking into the sacred library to read the forbidden ancient texts. It was there he learned about the soul-consuming power of the phantom claw ninjutsu and its catastrophic potential. Now he’s on a journey of self-discovery, hoping to tame this gift—or curse—and one day return home. (Exclusive on Xbox One)\r\n', 'type': 'Bundle', 'priceInRobux': 400}, {'id': 59, 'name': 'Zoey: The Fashionista', 'description': '"Stylin\' and Inspirin\' is as much an outlook as it is a way of life"\r\n\r\nThere is fashion forward, and then there is fashion transcendent - Zoey falls in the latter. In a field dominated by personalities, she has set herself apart by the sheer dominance of her product\'s function and form.\r\n\r\nPer well-placed sources, Zoey has her sights set beyond just winning over the fashion industry. Exactly what that means though is anybody\'s guess, but what we do know is whatever she decides to pursue she\'ll take on by storm.\r\n\r\n(Exclusive on Xbox One)\r\n', 'type': 'Bundle', 'priceInRobux': None}, {'id': 60, 'name': 'Dex: The Trendy Tycoon', 'description': '"The word \'cavalier\' doesn\'t begin to describe the chances ol\' Dex takes!"\r\n\r\nDex has been looking to leverage and work his way to the top since before he could walk. Stories abound regarding his exploits, from his first lemonade stand that eventually acquired a major corporation to his school car wash that was later investigated for forming a monopoly.\r\n\r\nNow some suspect that Dex\'s luck isn\'t purely natural - that maybe he made a deal to get to where he is. But there will always be doubters in life, all one can do is look forward and dust off your shoulders.\r\n\r\n(Exclusive on Xbox One)\r\n', 'type': 'Bundle', 'priceInRobux': None}, {'id': 84, 'name': 'Jacob: The Storm Breaker', 'description': '“Endlessly chasing the next great storm, that is my destiny.” Though described as jovial to all who have met him, Jacob has always been an enigmatic figure. He remains an oddity in the modern world, refusing interviews and shying away from any questions regarding his past – little is known about him beyond his utter fearlessness and inhuman talent. His feats of dominance on the mountain with a snowboard have been described as nothing less than “art.” And while it may never be known what drives his passion to push the limits of human physicality, perhaps it is not needed. Maybe we should simply enjoy art for art’s sake. (Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 1000}, {'id': 125, 'name': 'Oakley', 'description': 'Oakley is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 127, 'name': 'Casey', 'description': 'Casey is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar. (Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 136, 'name': 'Hayley: The Tech Mage', 'description': "“LEVEL 10 SECRET REPORT – Origins: REDACTED // Purpose: REDACTED // Allegiance: None.”\r\n\r\nThe greatest inventor in the world, Hayley's creations are so unbelievable that they at first appear to be magical, hence her moniker, “The Tech Mage.”Upon acquiring a peice of her technology, governments and corporations will study it for years before releasing a knock-off version to the public. Though difficult to trace and even harder to find, Hayley travels the world solving impossible problems with her clever innovations.\r\n(Exclusive on Xbox One)", 'type': 'Bundle', 'priceInRobux': 750}, {'id': 133, 'name': 'Berrik: The Boxer', 'description': '“All he needs is a million to one shot.”\r\n\r\nRaised in the urban sprawl, Berrik dreams of making it big and providing a better life for his family.  He has fast hands, smooth moves, and a mouth that never stops talking. Following a gruelling regimen of jogging, racing games, and pickup basketball, Berrik is determined to become the first boxing champion from his block. Now all he needs is a gruff but stern coach, and oh yeah, a membership at the boxing gym down the street.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 500}, {'id': 130, 'name': 'Lin', 'description': 'Lin is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 139, 'name': 'RBX-90: The Party Bot', 'description': '“Sir, we don’t know its purpose… All it says is ‘Beep-beep-boop.’ What are we supposed to do with that?”\r\n\r\nNobody really knows where RBX came from. Some suspect it was a trashcan that gained sentience. Others believe it was part of a failed experiment involving a toaster.  Whatever its origin, RBX knows how to have an awful lot of fun for being a robot. Though despite its popularity, nobody has any idea what the Party-Bot is saying. Might be for the best though, Robots are known to be notoriously rude.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 1000}, {'id': 126, 'name': 'John', 'description': 'John is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 134, 'name': 'Ezebel: The Pirate Queen', 'description': '“The oceans are controlled by the pirates, and the pirates are controlled by Ez.”\r\n\r\nAfter graduating at the top of her class, Ezebel could have been anything she wanted – so, logically, she chose to be a pirate. Why? Well because being a pirate is pretty awesome. Even more awesome is establishing yourself as Queen of all Pirates in just over a year (a pirate record by the way). Just as she shined at her studies, so she has excelled as a leader of swashbuckling buccaneers. You want anything done on the ocean, well you will have to talk to Ez first.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 1000}, {'id': 128, 'name': 'Claire', 'description': 'Claire is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 131, 'name': 'Furious Finn', 'description': "“Furious Finn Survival Tip #109: Always bring your own toilet paper.”\r\n\r\nTough. Resourceful. Prepared. Finn travels the world in his V8 super car defeating bad guys and outrunning the law. He lives by his own code and is constantly looking over his shoulder. He has no friends and trusts nobody. But millions of people read his blog - they're even turning it into a book! People can't get enough of his survival tips and tales of escaping from tight situations.\r\n(Exclusive on Xbox One)", 'type': 'Bundle', 'priceInRobux': 450}, {'id': 140, 'name': 'Lillian: Shield of the Kingdom', 'description': '"She carries the hopes of her kingdom and protects the dreams of her people."\r\n\r\nA talented inventor and skilled general – Lillian has developed new technologies and used unconventional, yet extremely effective, strategies to ensure that her homeland survives any calamity. Vigilant towards threats. Brilliant with tactics. Compassionate in victory. It is no wonder, Lillian has earned the love of her people and the respect of her enemies.\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 250}, {'id': 129, 'name': 'Serena', 'description': 'Serena is one of several exclusive Roblox Avatars available for free! You can change your look at any time by selecting or buying a different avatar.\r\n(Exclusive on Xbox One.)', 'type': 'Bundle', 'priceInRobux': None}, {'id': 135, 'name': 'Amelia: The Phoenix', 'description': '"What looks like the end, is often just the beginning."\r\n\r\nTo call Amelia determined would be an understatement. She leaves no mystery unsolved, no border uncrossed, and no challenge unaccepted! When everyone else has given up, she\'s just getting started. When it looks like she\'s down and out, Amelia comes back stronger than ever. If she can\'t find a way, well, Amelia makes one. Dark tunnels, creepy crawlies, and haunted houses are no match for her curiosity, wit, and tenacity!\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 100}, {'id': 132, 'name': 'Krezak: The Legend', 'description': '“Which records does Krezak hold, you ask? What a ridiculous question. He holds them all.”\r\n\r\nThe son of a wealthy nobleman, Krezak spent his days dodging responsibilities and chasing trouble. That is, until he was asked by some locals to join a soccer game. The rest is history. Now known as the greatest athlete of his generation – if not all time – the people’s adoration for him is almost as great as his love to compete.\r\n \r\nOff the field he has earned a reputation for being a bit of a joker, but it has always been harmless fun. Except that one time involving the crane and peanut butter...\r\n(Exclusive on Xbox One)', 'type': 'Bundle', 'priceInRobux': 100}]

showOwnedBundles(userId)

Returns what bundles the specified user ID owns.

NOTE: User MUST have a public inventory, or this function won't work. Example:

Catalog.showOwnedBundles(52839454)

Output:

[{'id': 82, 'name': 'Robot Animation Pack', 'bundleType': 'AvatarAnimations', 'creator': {'id': 1, 'name': 'ROBLOX', 'type': 'User'}}, {'id': 311, 'name': 'Robloxian 2.0', 'bundleType': 'BodyParts', 'creator': {'id': 1, 'name': 'ROBLOX', 'type': 'User'}}, {'id': 109, 'name': 'ROBLOX Boy', 'bundleType': 'BodyParts', 'creator': {'id': 1, 'name': 'ROBLOX', 'type': 'User'}}, {'id': 356, 'name': 'Rthro Animation Package', 'bundleType': 'AvatarAnimations', 'creator': {'id': 1, 'name': 'ROBLOX', 'type': 'User'}}, {'id': 397, 'name': 'The Harbinger', 'bundleType': 'BodyParts', 'creator': {'id': 1, 'name': 'ROBLOX', 'type': 'User'}}]

showUserInventory(userId, assetType)

Shows a specific user ID's inventory of things matching the asset type specified. Valid asset types are listed on the Valid Asset Types Wiki page. Parameters:

  • userId - The user ID you want to see the inventory of. (int)
  • assetType - The type of asset you want to see the user's inventory of. (string) Example:
Catalog.showUserInventory(52839454, 'Hat')

Output:

[{'assetId': 5971686661, 'name': 'How to Program BASIC', 'assetType': 'Hat', 'created': '2020-11-25T19:38:13.763Z'}, {'assetId': 4962824499, 'name': 'Green Apple Headphones', 'assetType': 'Hat', 'created': '2020-05-02T00:11:01.887Z'}, {'assetId': 4773572356, 'name': 'Ghastly Egg', 'assetType': 'Hat', 'created': '2020-04-21T21:56:57.803Z'}, {'assetId': 4786878003, 'name': 'Tower of Eggs', 'assetType': 'Hat', 'created': '2020-04-11T19:00:55.79Z'}, {'assetId': 4771636601, 'name': 'Swarming Egg of the Hive', 'assetType': 'Hat', 'created': '2020-04-11T17:35:31.69Z'}, {'assetId': 4819740796, 'name': 'Robox', 'assetType': 'Hat', 'created': '2020-04-04T17:51:36.383Z'}, {'assetId': 3821205349, 'name': 'Roblox Battle Cap', 'assetType': 'Hat', 'created': '2019-09-15T19:25:52.51Z'}, {'assetId': 2535846810, 'name': 'The Harbinger - Horrid Helmet', 'assetType': 'Hat', 'created': '2018-11-05T18:06:55.41Z'}, {'assetId': 1556195261, 'name': 'Eggfection', 'assetType': 'Hat', 'created': '2018-04-06T01:25:50.82Z'}, {'assetId': 66367279, 'name': 'Thanksgiving Turkey Cap', 'assetType': 'Hat', 'created': '2017-11-22T20:28:36.787Z'}, {'assetId': 1032939553, 'name': 'Nerf Zombie Strike Beanie ', 'assetType': 'Hat', 'created': '2017-10-02T01:26:50.603Z'}, {'assetId': 501753720, 'name': 'Backup Mr. Robot', 'assetType': 'Hat', 'created': '2017-07-03T21:26:32.843Z'}, {'assetId': 607700713, 'name': 'Roblox Logo Visor', 'assetType': 'Hat', 'created': '2017-01-12T00:51:45.393Z'}, {'assetId': 454731220, 'name': 'Hat Couture', 'assetType': 'Hat', 'created': '2016-07-24T18:31:24.173Z'}, {'assetId': 439294240, 'name': 'Crown of Fruity Pebbles', 'assetType': 'Hat', 'created': '2016-07-03T15:29:43.073Z'}, {'assetId': 383280964, 'name': 'Opened Stylist Gift', 'assetType': 'Hat', 'created': '2016-04-14T22:11:06.243Z'}, {'assetId': 326611535, 'name': 'Opened Legit Gift of Validated Electronic Mail', 'assetType': 'Hat', 'created': '2015-12-04T21:33:29.537Z'}, {'assetId': 15857936, 'name': 'Tee Vee', 'assetType': 'Hat', 'created': '2015-05-24T23:09:28.85Z'}, {'assetId': 100425864, 'name': 'Deluxe Game Headset', 'assetType': 'Hat', 'created': '2015-03-31T20:59:07.44Z'}, {'assetId': 1080951, 'name': 'Builders Club Hard Hat', 'assetType': 'Hat', 'created': '2014-12-25T21:49:51.037Z'}, {'assetId': 187483689, 'name': 'Pumpkin Piephones', 'assetType': 'Hat', 'created': '2014-11-20T13:20:10.177Z'}, {'assetId': 93078560, 'name': 'Knight of the Blood Moon', 'assetType': 'Hat', 'created': '2014-11-17T23:57:29.813Z'}, {'assetId': 173784605, 'name': 'ROBLOX U Baseball Cap', 'assetType': 'Hat', 'created': '2014-09-08T13:13:20.947Z'}, {'assetId': 102611803, 'name': 'Verified, Bonafide, Plaidafied', 'assetType': 'Hat', 'created': '2014-03-03T00:45:18.467Z'}, {'assetId': 48474313, 'name': 'Red Roblox Cap', 'assetType': 'Hat', 'created': '2013-12-19T12:03:14.897Z'}, {'assetId': 27345567, 'name': 'Fiery Egg of Egg Testing', 'assetType': 'Hat', 'created': '2010-07-22T21:16:18.94Z'}, {'assetId': 24826640, 'name': 'Chrome Egg of Speeding Bullet', 'assetType': 'Hat', 'created': '2010-04-03T21:04:15.273Z'}]

Clone this wiki locally