Get Promo Game List
Request
URI: /getPromoGameList
Example usage: https://{base_url}/getPromoGameList?{parameters}
The request is executed using the GET
method.
This method allows you to get a list of games with a tournament type.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
provider | string | No | The unique ID of provider |
type | string | No | If parameter is absent, return all games. Live = only live games, Slot = only slot games. Accepted values: live , slot |
Response parameters
Name | Type | Required | Description |
---|---|---|---|
status | boolean | Yes | Response status code for Call back API Accepted values: true , false |
games | array | Yes | Array with games list and information |
games.id | integer | Yes | Game ID |
games.name | string | Yes | Game provider name + tournament |
games.providerId | integer | Yes | Provider ID |
games.category | string | Yes | Game category |
errors | object | No | Description of errors in case status = false |
errors.error | string | No | Error description |
Example of a successful response
Response: /getPromoGameList
{
"games": [
{
"id": 1035632,
"name": "Pragmatic Tournaments",
"providerId": 270,
"category": "Tournaments"
},
{
"id": 1035633,
"name": "GameArt Tournaments",
"providerId": 340,
"category": "Tournaments"
}
]
}
Example of an unsuccessful response
Response: /getPromoGameList
{
"status": false,
"errors": {
"error": "Description"
}
}