Get Games
curl --request GET \
--url https://103.77.224.40/platform/api/gamesimport requests
url = "https://103.77.224.40/platform/api/games"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://103.77.224.40/platform/api/games', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://103.77.224.40/platform/api/games",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://103.77.224.40/platform/api/games"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://103.77.224.40/platform/api/games")
.asString();require 'uri'
require 'net/http'
url = URI("https://103.77.224.40/platform/api/games")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyGET /platform/api/games
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Book of Ra",
"softwareProvider": "NOVOMATIC",
"gameCode": "bookofra"
},
{
"uuid": "4b9b3f3d-5a17-4a2b-bc9c-b7c3b0cdd142",
"name": "Flaming Hot",
"softwareProvider": "EGT",
"gameCode": "flaminghot"
}
]
RGS Public API
Get Games
Retrieves a list of games available from all software providers or a specific software provider.
Get Games
curl --request GET \
--url https://103.77.224.40/platform/api/gamesimport requests
url = "https://103.77.224.40/platform/api/games"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://103.77.224.40/platform/api/games', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://103.77.224.40/platform/api/games",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://103.77.224.40/platform/api/games"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://103.77.224.40/platform/api/games")
.asString();require 'uri'
require 'net/http'
url = URI("https://103.77.224.40/platform/api/games")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyGET /platform/api/games
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Book of Ra",
"softwareProvider": "NOVOMATIC",
"gameCode": "bookofra"
},
{
"uuid": "4b9b3f3d-5a17-4a2b-bc9c-b7c3b0cdd142",
"name": "Flaming Hot",
"softwareProvider": "EGT",
"gameCode": "flaminghot"
}
]
GET /platform/api/games
Request Parameters
| Name | Type | Description |
|---|---|---|
| softwareProvider | string optional | Filter games by a specific software provider. |
Response Parameters
Array of objects. Each object contains the following fields:| Name | Type | Description |
|---|---|---|
| uuid | string | Unique identifier of the game. |
| name | string | Name of the game. |
| softwareProvider | string | The software provider of the game. |
| gameCode | string | The unique game code. |
Keeping the game list current
New games may be added after you first fetch the list. If your application stores the response, refetch this endpoint periodically to discover newly available games. You can use the optionalsoftwareProvider filter when refreshing one provider’s games.
Game thumbnails
Build a thumbnail URL from each game’ssoftwareProvider and gameCode fields. Two image sizes are available:
| Size | URL template |
|---|---|
| 290 × 192 | https://staging-env.b-cdn.net/icons/games/{softwareProvider}/{gameCode}.png |
| 300 × 400 | https://staging-env.b-cdn.net/icons/games-3x4/{softwareProvider}/{gameCode}.png |
softwareProvider set to NOVOMATIC and gameCode set to bookofra has a 290 × 192 thumbnail at https://staging-env.b-cdn.net/icons/games/NOVOMATIC/bookofra.png.
GET /platform/api/games
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Book of Ra",
"softwareProvider": "NOVOMATIC",
"gameCode": "bookofra"
},
{
"uuid": "4b9b3f3d-5a17-4a2b-bc9c-b7c3b0cdd142",
"name": "Flaming Hot",
"softwareProvider": "EGT",
"gameCode": "flaminghot"
}
]