Difference between revisions of "Legacy THNapi:API related commands"

From Neocron Wiki
Jump to: navigation, search
Line 21: Line 21:
  
 
[[Category:THN HTML API commands|API Commands]]
 
[[Category:THN HTML API commands|API Commands]]
 +
[[Category:Wiki Item DB tags|API Commands]]

Revision as of 00:33, 26 February 2008

API Commands

These commands access the Item DB API layer, and perform API related functions.

Command list (HTML format)

This shows the available commands in a HTML format.

Example

Example: <api:show_commands_html/> <api:show_commands_html/>

Command list (XML format)

This shows the available commands in the webpack XML format. It is planned at some stage to possibly have an automactic update.

Example

Example: <api:show_commands_xml/>

The output is not shown, as the Item DB sends a XML content type header, which will screw up the rendering of the page. Any user putting this command in a page, will be hit with a Nerf bat.