This is an old revision of the document!
Formatting Scripts
Formatting Scripts are completely optional, and are used to inject code either before your API request is processed or after the results are returned based on the format of output requested by the user.
Pre-execution formatting scripts usually set up the request to include extra parameters that control the style of the output (for example, adding a 'format' parameter to the request).
Post-execution formatting scripts usually take the native format of output (for example, JSON) and convert it into other formats, such as CSV or XML.