Game Launch() API
Operator needs to make GameLaunch() APIrequest to RGS API to get game launch URL. Though game launch URL would have been sent already in GetGames() API call response, it allows RGS API to register the session, builds the launch URL and sends it back to the caller.
POST /games/game-launch/
JSON
Host: https://test-api.netgaming.com/v1/
{ "api_key": "1pghjl4v5apt2bks", "session_id": "b6ef88a8054e328f4459b625baf38fae71981a34", "provider": "netgaming", "game_type": "slots", "game_id": "5", "platform": "desktop", "language": "en", "amount_type": "real", "lobby_url": "", "deposit_url": "", "jurisdiction_code": "DE", "context": { "player_id": "1232", "username": "username", "country": "GB", "currency": "GBP" } }
Parameters | Type | Description |
api_key | String | API Key allocated to each frontend |
session_id | String | Session ID created for the player during login |
provider | String | Game Provider. netgaming here. |
game_type | String | Type of the game. Ex: slots, table_games, scrath_cards |
game_id | Integer | Providers game ID |
platform | String | Channel in which player is playing the game. Ex: desktop, mobile |
language | String | Language of the player |
amount_type | String | Mode of the play. Ex: ‘real’ – when playing with real cash ‘fun’ – when playing fun mode |
lobby_url(Optional) | String | Home or Lobby URL of the operator |
deposit_url(Optional) | String | Deposit URL of the operator. |
jurisdiction_code(Optional) | String | Jurisdiction code applies to US integrations whereby each state is defined accordingly. |
context | JSON Object | JSON object containing player details such as player_id, username, country and currency which are mandatory. First name, last name, country, genders are optional. |
context.player_id | String | Unique player ID |
context.username | String | Unique player username. |
context.currency(Optional) | String | Player currency. |
contect.country( Optional ) | String | Player country. |
Response Example
{
"result": {
"launch_url": "https://staging-games.netgaming.com/game_launcher.php?sessionid=b6ef88a8054e328f4459b625baf38fae71981 a34 & channel = desktop &full_site_code = PFMNGOP & language = en & game_name = ageofdavincy & category = slots & amount_type = 1 & reality_check = 120 &lobby_url = < lobby_url > & deposit_url = < deposit_url > & jurisdiction_code = < jurisdiction_code > "
}
}
Parameters | Type | Description |
launch_url | JSON Object | Key launch_url contains the Game Launch URL as value that is used to launch the game. |