/
1.2 getGameList()
1.2 getGameList()
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.
REST REQUEST
//get game list Array ( [api_password] => xapitest [api_login] => xapitest [method] => getGameList [show_systems] => 0 [currency] => EUR )
REST RESPONSE
{"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 |
Source Code
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.
, multiple selections available,
Related content
1.1 getGameList() *
1.1 getGameList() *
More like this
1.2 getGame() *
1.2 getGame() *
More like this
3. createPlayer()
3. createPlayer()
Read with this
8.1 getJackpotFeeds
8.1 getJackpotFeeds
More like this
Wallet interface F.A.Q.
Wallet interface F.A.Q.
Read with this
1.5 getHiddenList
1.5 getHiddenList
More like this