/
2.2 playerExists() *
2.2 playerExists() *
Check if player exist using the username from the constructor.
REST REQUEST
Array ( [api_password] => xapitest [api_login] => xapitest [method] => playerExists [user_username] => domendomen2 [currency] => EUR )
REST RESPONSE
OK: { "error":0, "response":{ "id":41457, //remote_id that will be sent in seamless request "username":"xxdomendomen2", "balance":"20.00", "currencycode":"EUR", "created":"2013-02-15 14:57:47", "agent_balance":"0.25" } } DOESN'T EXIST: {"error":0,"response":false}
Source Code
public function playerExists(){ //returns FALSE on no user, else returns details return $this->client->checkPlayer($this->user['username']); }
Related content
4) loginPlayer()
4) loginPlayer()
More like this
1.2 getGame() *
1.2 getGame() *
Read with this
2.2 playerExists()
2.2 playerExists()
More like this
Seamless integration
Seamless integration
Read with this
1.2 loginPlayer() *
1.2 loginPlayer() *
More like this
1.3 getGameDirect() *
1.3 getGameDirect() *
Read with this