List GamesThe list games API can return detailed information about all games on the Planets Nu website or for an individual player. This API is a public API and does not require authentication. The most basic usage is just to make a GET call from http://api.planets.nu/games/list Each game record will be returned in a JSON array and appears as an array of game objects: [{game 1},{game 2},{game 3}] Where each game object has many properties. Subsequent filters can be applied by query-string parameter:
For example: Would return all public standard games which are currently running. Would return all the currently active games for joshua's account. For username's which have spaces or special characters be sure to URL Encode your request. Important note: The response is GZIP compressed and must be decompressed after downloading. (Browsers do this automatically but most code libraries do not)
|