Webmaster API

Providing an attractive game as part of a web site retains visitors and increase the returns. This is what the Webmaster API brings: Jocly services directly into your web sites pages.

We just released the first beta. So far, only human vs computer mode is supported.

Integrating a Jocly game is as simple as inserting this HTML code:

<iframe src="http://www.jocly.com/jocly/wapi/{webmaster id}/play-game/{game name}"></iframe>

where

You can add width, height and frameborder attibutes to customize the iframe:

<iframe src="http://www.jocly.com/jocly/wapi/{webmaster id}/play-game/{game name}" width="300" height="400" frameborder="0"></iframe>

The game board will automatically adapt its viewport to fit your iframe dimension.

To get your webmaster id, just log into Jocly, go to http://www.jocly.com/user/, pick tab "Jocly Webmaster" and register as a webmaster. For the integration to work, you'll need to configure the domain names of the sites you want to embed Jocly to.

If you are comfortable with AJAX, it is also possible to go further and get data about games before launching them, so you can provide a full game portal to your users. More information from this link.

Let us know if this API matches your webmaster needs.