The official, in-game World of Warcraft API Documentation takes the form of an /api
command that dumps API Hyperlinks which, when clicked, dump even further information about a system and its functions, events and tables.
Usage[]
/api system list
- Prints a list of systems/api _____ list
- Lists functions, events and tables associated with ______/api _____ search _____
- Lists functions, events and tables associated with ______ matching the search paramter _____- Clicking on the coloured hyperlink of a system, function, event or table provides additional information
Notes[]
API Hyperlinks are formatted in-game as api : type : name : [parentName]
, such as:
"|cffff55dd|Hapi:system:MapUI:|hMapUI|h|r"
"|cff55ddff|Hapi:function:GetMapInfo:MapUI|hC_Map.GetMapInfo()|h|r"
"|cff77ff22|Hapi:event:ZoneChanged:MapUI|hEvent.MapUI.ZoneChanged|h|r"
"|cff55ffdd|Hapi:table:UiMapDetails:MapUI|hUiMapDetails|h|r"
Example[]
/api item search get
Found 14 API that matches "Get" Found 13 functions function C_Item.GetCurrentItemLevel(itemLocation) ... 12 more rows ... Found 1 events(s) [sic.] function Event.Item.GetItemInfoReceived -> itemID, success
Clicking on C_Item.GetCurrentItemLevel produces:
function C_Item.GetCurrentItemLevel(itemLocation) Part of the Item system Arguments 1. table itemLocation Returns 1. (optional) number currentItemLevel
Patch changes[]
- Patch 7.2.0 (2017-03-28): Added.[1][2]
See Also[]
- API - List of all API functions documented by volunteer contributions to Wowpedia
- Blizzard_APIDocumentation - Blizzard's in-game API Documentation
- Townlong Yak API Documentation - Online API Documentation viewer
- APIInterface - Addon to navigate documentation more easily without spamming text in your chat window
- wow-api-web - Online text based API Documentation
References[]
- ^ LanceDH 2017-01-22. 7.2 bringing official API documentation?. reddit.
- ^ 2017-03-28, BaseAPIMixin.lua, version 7.2.0.23835, archived at Townlong-Yak