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

API Reference

drublic edited this page Apr 15, 2012 · 11 revisions

API Reference

Use

http://api.html5please.com/[feature1+feature2..+featureN].[format]?[option1&option2..optionN]

e.g http://api.html5please.com/video+audio+webgl.json?callback=h5please&texticon&html

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.

xml: the output will be valid XML.

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.

template: the HTML will include variables for text-content (eg. for internationalization) - read more

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