API Docs
The Factolex API follows a simple REST approach. Parameters for methods are set through URL parameters.
Documentation for the Factolex API is only available in English.
Output Formats
The output of each method is available in 3 formats:
| html | Actually outputs XML, prepared for being viewed in a browser. |
| xml | eXtensible Markup Language |
| json | Best for processing the response using Javascript.
When this format is used, an additional parameter is available:
|
The format can be changed by appending a URL parameter &format=format
The parameter is optional, in which case the default (shown in bold in the list above) is used.
Language
You can select a language in which to query or access Factolex. Currently only these languages are available:
| en | English |
| de | German (Deutsch) |
The language can be changed by appending a URL parameter &lang=language (using the 2-letter name, as listed above).
The parameter is optional, in which case the browser accept language will be used, or English as a fallback.
Methods
These methods are currently available in the Factolex API: