getGame
Provide valid game launch link in demo or real mode (play_for_fun: 1 is for demo).
Request
{
"api_login": "danitestdev_s",
"api_password": "12345678",
"method": "getGame",
"user_username": "testing",//only required for real mode
"user_nickname": "daniTest01",//players display name
"user_password": "687ee8d988b2411bfc6983c4fca2f6c622819ac8",//only required for real mode
"lang": "en",
"gameid": "2759", //we can also use string
"homeurl": "http://www.google.com",
"play_for_fun": "0",//1 for fun mode
"currency": "EUR"
}
Response on success
{
"error": 0,
"response": "<GAME LAUNCH URL>",
"gamesession_id": "bs_928747-bs5c763a5b5e213_2759", //only required for real mode
"sessionid": "5c763a5a24983",
"currency": "EUR"
}
If game id is incorrect
{
"error": 1,
"message": "Game not found! Incorrect id:0"
}
If player is invalid
{
"error": 1,
"message": "Invalid player username or password! (2)"
}