Difference between revisions of "Legacy THNapi:API related commands"
From Neocron Wiki
Line 20: | Line 20: | ||
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. | 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. | ||
− | [[Category:THN HTML API commands | + | [[Category:THN HTML API commands|API Commands]] |
Revision as of 00:27, 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.