Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

API Reference

nimbupani edited this page Feb 26, 2012 · 11 revisions

Formats

html: **the output will be valid HTML with the mimetype of text/html.

json: the output will be valid JSON with the mimetype of application/json. Options

nocss: the HTML will not include the stylesheet.

text: the HTML will be optimized for text output.

icon: the HTML will be optimized for icon output.

supported: the JSON will only output whether the agent supports the requested features.

noagent: the JS will return results for all browsers with no agent detection.

callback = [ functionName ]: the output will be JavaScript, wrapped in this function name.

Clone this wiki locally