This API request allows the operator to receive a full list of our games which are enabled for their front-end. If no games are enabled, the response will return as “empty”.
This list contains details about the game types, game identifiers, image URL’s, supported platforms, supported modes, and other information useful for rendering the Operator game lobby page.
The get games API is a web service hosted on AGGREGATOR and can be called by the Operator.
An API key is required as a request parameter which is allocated to the Operator at the time of integration. Please see the below sections for more information.
3.1 Get Games Request
| Type | Input |
| Method | POST |
| URL | https://<AG-API-BASE-URL>/provider/get_aggregator_games |
| Headers | "Content-Type": "application/json" |
| POST Parameters | JSON Object (JSON-RPC 2.0) |
| Example | { "jsonrpc": "2.0", "id": 0, "method": "get_aggregator_games", "params": { "api_key": "string", "site_id": int } } |
3.2 Request Parameters
| Parameter | Type | Description | Optional |
api_key | String | API key allocated to the Operator | |
site_id | Integer | Site ID allocated to the Operator | Yes |
3.3 Response Parameters
| Parameter | Type | Description |
result | Json Object | Presented as a key in the response dictionary |
games | JSON Object | Presented as a key inside the result dictionary contains list of dictionaries with game details |
3.4 Example Response
{
"jsonrpc": "2.0",
"result":{
"games": [{
"game_id": 1666,
"game_name": "pirate's_pillage",
"description": "Pirate's Pillage",
"title": "Pirate's Pillage",
"game_type": "scratch",
"tags": ["New", "Trending"],
"status": 1,
"jackpot": 0,
"rtp": 94.5,
"platforms": ["desktop", "mobile"],
"launch_params": {
"height": "600px",
"width": "600px"
},
"game_features": ["feature1"],
"maximum_winning": 5002,
"volatality": "medium",
"modes": ["Real", "GoldCoins", "SweepCoins"]
"free_spins_configuration": {
"coin_values": ["0.1", "0.2", "0.5", "1.0"],
"min_number_of_coins": 1,
"max_number_of_coins": 1,
"min_paylines": 10,
"max_paylines": 20
},
"provider": "rival",
"image_url":"https://staging-agapi.vegassoftware.com/static/200X299/211.jpg"
}]
}
}