Skip to main content

Gopher

A library for getting and parsing the Roblox API dump.

Functions

Return TypeSignatureDescription
DictionarygetRawDump()Returns the JSON decoded raw API dump.
Dictionary\<Class>getAllClasses()Returns a dictionary of all Class objects.
ClassgetClass(string className)Returns a Class object with the provided name.

getRawDump

Returns the JSON decoded raw API dump.

local dump = Gopher:getRawDump()

print(#dump.Classes) -- print number of classes

getAllClasses

Returns a dictionary of all Class objects.

local classes = Gopher:getAllClasses()

print(classes.Instance)

getClass

Returns the JSON decoded raw API dump.

local instanceClass = Gopher:getClass("Instance")

print(instanceClass:getMember("Name")) -- dictionary

Parameters

TypeNameDefaultDescription
stringclassNameThe name of the class to return.