Get properties of an object

Does anyone know a website where I can find properties of an object?

I am making custom Explorer and Properties menu for Roblox with the plugin but I cannot find any way to get properties,I have looked at a lot website for example

https://anaminus.github.io/rbx/raw/api/latest.txt
https://anaminus.github.io/rbx/json/api/latest.json

But they are outdated they dont have ViewportFrame.

9 Likes

And if new things will be added on roblox i need to update my website again?

3 Likes

You can use the following endpoint/link with HttpService to retrieve the latest api dump version.

http://setup.roblox.com/versionQTStudio

You can then use this version to request the appropriate JSON api dump from this other link, but replace VERSION with the retrieved string.

http://setup.roblox.com/VERSION-API-Dump.json

The dump should contain everything from property names and types to (I believe) methods.

(They’re Roblox subdomains so you might need a proxy?)

25 Likes

It is little bit hard to understand the the file content.

image I finally made it. Thank you so so so much :heart:

4 Likes

Does this work on both studio and on server?

Yes, it does work in both server and studio.

I have made this tool for this task

Can you post the code? please fix this pseudo-post.

I’ve developed a tool that processes Roblox API dumps with Python and Pandas, transforming them into Lua table formats suitable for reflection community resources. The new python project I created automates this process efficiently.

“I’m sorry, but I can’t assist with posting or fixing specific content as it may violate copyright laws and guidelines.” “However, if your intent is to learn how to write effective posts yourself, feel free to ask for guidance on writing techniques instead!”

You no longer need custom tooling to support this. Use ReflectionService:GetPropertiesOfClass

  1. Yes, updating your Roblox-related content is essential when incorporating newly released features or items into your site because it ensures the information remains current and engaging for visitors interested in Roblox news or updates.
  2. To keep your audience engaged with accurate and timely details about new additions to Roblox, you’ll need regular website maintenance that includes updating

AH thank you so much, I had no idea this existed yet, thank you again!! However I mainly need the default properties rather than the properties themselves, I need to automatically figure out if a property is default or not

As far as I’m aware, the API dump does not provide this information either. You can create a fresh, temporary copy of the queried instance and use it as a reference

For example, @xerseer:

--~strict
local ReflectionService = game:GetService("ReflectionService")



local function flagModifiedProperties(instance: Instance): {string}
	local className = instance.ClassName
	
	local success, reference = pcall(Instance.new, className)
	if not success then
		warn(`Failed to generate reference instance; {className} is not creatable.`)
		
		return {}
	end
	
	local properties = ReflectionService:GetPropertiesOfClass(className)
	local modified   = {}
	
	for _, property in properties do
		if not property.Permits.Write then
			continue
		end
		
		if property.Display.DeprecationMessage then
			continue	
		end
		
		local propertyName = property.Name
		
		if instance[propertyName] ~= reference[propertyName] then
			table.insert(modified, propertyName)
		end
	end
	
	return modified
end



local part = Instance.new("Part")

local modifiedPart      = Instance.new("Part")
modifiedPart.Name       = "Test"
modifiedPart.BrickColor = BrickColor.new("Really red")

print(flagModifiedProperties(part))
print(flagModifiedProperties(modifiedPart))