All API calls return a string Result value as the first field in the returned data. Possible values are:
Game will start shortly
Game is in progress
Game is over and this client won
This client won by the other player timing out
This client lost
This client lost by timing out
The game ended in a draw
All API access is over HTTPS, and accessed through:
Get List Of Game Styles
Cancel Game Offer
Poll For Game State
You can try out the API using the handy Postman app for Chrome - use this link:
We have created a complete GUI app in Python that uses the REST API to play games on our site. This provides a great example of how each REST API call should be implemented.
You can find out more details about this and how to download it on our Test harness using the REST API page.