Retrieves the games enabled for your agent.
Please note that this list can change over time and is different between staging and production servers! It's best practice to load this list dynamically so you always get the latest games. |
//please note that json response array returns the same game properties Array( 0 =>array ( 'id' => '568', 'name' => 'The Pyramid', 'category' => 'video-slots', 'subcategory' => '15line', 'details' => '{"Min bet":"0,05�","Max bet":"25�"}', 'new' => '0', 'system' => 'mi', 'position' => 0, 'type' => 'video-slots', 'image' => 'url to game icon', 'image_preview' => 'url to game screenshot', 'mobile' => false, 'play_for_fun_supported' => true, ), 1 =>array ( 'id' => '729', 'name' => 'So 80\'s', 'category' => 'video-slots', 'subcategory' => 'classic', 'details' => '{"Min bet":"0,05�","Max bet":"25�"}', 'new' => '0', 'system' => 'mi', 'position' => 0, 'type' => 'video-slots', 'image' => 'url to game icon', 'image_preview' => 'url to game screenshot', 'mobile' => false, 'play_for_fun_supported' => true, ), ) |
//get game list Array ( [api_password] => xapitest [api_login] => xapitest [method] => getGameList [show_systems] => 0 [currency] => EUR ) |
{"error":0,"response":[{id:2817,name:Example\u2122,type:video-slots,subcategory:example,details:, new:0,system:mi,position:4,category:SLOTS1, image:https:\/\/www.example.com\/images\/slots\/small\/mi\/mi-example.png, image_preview:https:\/\/www.example.com\/media\/images\/popup\/mi-example.jpg, mobile:true,play_for_fun_supported:true},... REST RESPONSE on show_systems = 1: {"error":0,"response":[{"id":"775","name":"Pirates","category":"bgaming",type:"video-slots","subcategory":"other","details":"{\"minbet\":\"0.01\",\"maxbet\":\"75.00\", \"reels\":\"5\",\"lines\":\"15\",\"freespins\":\"yes\",\"bonusgame\":\"no\"}","new":"0","position":"5","image":"http:\/\/dev.example.com:8090\/media\/images\/slots\ /small\/la\/pirates.png","image_preview":"http:\/\/dev.example.com:8090\/media\/images\/popup\/pirates.jpg","provider":"la","provider_name":"Casino Name"} |
Info provided for each game:
Type | Parameter | Description |
---|---|---|
int | id | gameId to be used with getGame function |
string | name | game name |
string | category | game main category |
string | type | game type (video-slots,video-poker...) |
string | subcategory | optional subcategory |
string | details | optional data for a game in a json format |
string | system | internal shortname for game provider |
string | image | game thumbnail image |
string | image_preview | game screenshot image |
boolean | new | set when the game is new in our system |
boolean | play_for_fun_supported | set when the game supports play for fun mode |
string | currency | players currency code |
Return Values
array
Type | Name | Description |
---|---|---|
string | id_hash | unique string identifier |
int | id_parent | parent game id of the current game if available |
string | id_hash_parent | same as id_parent but identified as unique string identifier |
boolean | freerounds_supported | specifies if game supports activation of free rounds via 'addFreeRounds' method |
boolean | has_jackpot | specifies if game has jackpots |
string | image_filled | direct url to the non-transparent rectangle image icon |
string | image_background | direct url to the game background image |
string | image_portrait | direct url to the portrait image |
string | image_square | direct url to the square image |
string | image_bw | direct url to the black and white image |
public function getGameList($show_systems = false){ return $this->client->getGameList($show_systems); } |
Please note that this list can change over time and is different between staging and production servers! It's best practice to load this list dynamically so you always get the latest games. |