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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.