Url: https://api.playkey.net/rest/PlaykeyAPI.svc/games/categories
HTTP Method: POST
The following is an description request Json body:
lang - Display language api_version - API version (default equal 1) ga_clientId - Google Analytics ID token - Authentication token (optional)
The following is an example request Json body:
{ "lang": "lang", "api_version": 20494883, "ga_clientId": "gaclientid", "token": "token" }
Description of how to response:
error - Error information code - Error code. Error 0 - no error message - Error message. Empty if none categories - List of game categories for the region caregories - Categories [ code - Code name - Title type - Type metadata - Category metadata keywords - Keywords description - Description ]
The following is an example response Json body:
{ "error": { "code": 0, "message": "string" }, "categories": [ { "code": "string", "name": "string", "type": "string", "metadata": { "keywords": "string", "description": "string" } }, { "code": "string", "name": "string", "type": "string", "metadata": { "keywords": "string", "description": "string" } } ] }
The following is an example response Xml body:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <error> <code>0</code> <message>string</message> </error> <categories> <caregories> <code>string</code> <name>string</name> <type>string</type> <metadata> <keywords>string</keywords> <description>string</description> </metadata> </caregories> <caregories> <code>string</code> <name>string</name> <type>string</type> <metadata> <keywords>string</keywords> <description>string</description> </metadata> </caregories> </categories> </result>