API Name Game Launcher
Notes
  • Before launching a game, you need to retrieve a token from the RTG using the Token API

  • Anonymous play is available in the Game Launcher, simply put forReal=false and do not send user and token params

Path <RTG Launcher URL>/lobby.aspx?cdkModule=gameLauncher&skinid={skinId}&user={login}&forReal={forReal}&token={token}&gameId={gameId}&machId={machId}&width={width}&height={height}&returnurl={returnurl}&gameName={gameName}
Method URL
Request Format URL
Response Format URL
Request Parameters
  • skinId (required): Skin Id. Required

  • gameId (required): Game Id. Required

  • machId (required): Machine Id. Required

  • user (required): Player login. Required

  • token (required): Valid user token. This is generated from the Create Token By App API. For the "ApplicationName" parameter, use "External Token". Required

  • forReal (required): True for Real, False for Fun mode. Required

  • returnurl (optional): Custom lobby URL. This is used in new interface mobile games to return to the home button in case the game was opened in the same window, if the games were opened in a new window and the return URL is empty the home button will close the window.

  • width (optional): This is to set Flash object container's width, can be numeric value and also can be "auto", that means the flash object container is going to be dynamic and it will be fit to the container. (For a better game performance we recommend this value with the optimal game width value, that value could be different in each game). Required in flash games

  • height (optional): This is to set Flash object container's height, which can be numeric value and also can be "auto", which means the flash object container is going to be dynamic and it will be fit to the container. (For a better game performance we recommend this value with the optimal game height value, that value could be different in each game). Required in flash games

  • gameName (optional): This is used for getting the Game Name to display on the browser tab

  • target (optional)This parameter was requested for specific cases where the game is loaded within an iframe, basically it specifies where the return URL will redirect (the iframe itself, the whole window, new window, etc),  once the player hits the home button. For more information on the possible values, you can check it out here: https://www.w3schools.com/tags/att_a_target.asp
  • cdnKey (optional): CDN key used to choose the corresponing CDN to use with this session. This is the second criteria about which CDN must be use. The first criteria is the player geolocation. For more information about this key refer to the next document: Multiple CDN in Casino and NGP.
  • language (optional)For example: ZH-CN, JA  etc. 
Request Example https://launcher.realtimegaming.com:2572/lobby.aspx?cdkModule=gameLauncher&skinid=2&user=testaccount&forReal=True&token=5F2F209D-1C1A-4571-8F76-E32ACB5D3BC4s@Lt&gameId=18&machId=198&width=auto&height=auto&returnurl=http://www.realtimegaming.com&gameName=Kung%20Fu%20Rooster
Success Response Example Game is opened
HTTP Code N/A