The majority of the API can be discovered by
exporting the UI itself and reading what Blizzard does with it.
As for that tool you linked, it's a fancy way of organizing the data available from simply running a loop on the ingame
_G table. All global objects (functions, tables, strings, numbers, and booleans) of a Lua environment are in there.