API Reference

nimbupani edited this page Feb 26, 2012 · 8 revisions

API Reference


http://api.caniuse.com/[ features ].[ format ][ ? [ options ] ]


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.

xml: the output will be valid XML.


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.