Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

On this page

Keyman Cloud CDN Version API

KeymanWeb is now deployed via CDN on http://s.keyman.com. The get-version API allows you to query the latest version of the code available on the CDN.

get-version should be called via HTTP GET to retrieve the latest build number. It will return an integer build number. In case of error, you should choose a known build number to reference (e.g. 377).

https://r.keymanweb.com/code/get-version

This build number can be embedded in the reference to the KeymanWeb code, e.g., for PHP:

$kmwbuild = @file_get_contents('https://r.keymanweb.com/code/get-version');
if($kmwbuild === FALSE) {
  $kmwbuild = 376;
}
echo "<script src='http://s.keyman.com/kmw/engine/$kmwbuild/keymanweb.js'></script>";
//or https://az416209.vo.msecnd.net/kmw/engine/$kmwbuild/keymanweb.js for HTTPS

Version Information and History

Released 19 January 2015

See Also

KeymanWeb Developer Home

Feedback

If you have any feedback or questions, just fill in this form to get in touch.