Create player using the data passed in the constructor.


Please do not use real player passwords. Because if the player changes his password, you will not be able to log him in via the API. Send a constant password for all players, or create a password by hashing some constant user details (like username) and send that instead.


Username must be min 4 and max 16 characters long! If your player usernames exceed that limit, then please send your player's ID as username!
Username must not contain any special signs, only upper case letters, lowercase letters, numeric values, minus sign, underscore and dot are allowed!
Same goes for the nickname parameter!
First name must contain min 2 and max 25 characters, same goes for last name parameter!
Once player is created it is not possible to change its currency!


(
	[api_password] => xapitest
	[api_login] => xapitest
	[method] => createPlayer
	//[user_id] => 123 //DEPRECATED
	[user_username] => domendomen2 //should be unique - you can use your internal ID for this parameter
	[user_password] => 687ee8d988b2411bfc6983c4fca2f6c622819ac8
	[user_nickname] => notuniquenickname //optional - non unique nickname of a player that is showed in some providers. If not passed user_username is used
	[currency] => EUR
)



{  
   "error":1,
   "message":"Player already exists"
}


{  
   "error":0,
   "response":{  
      "id":41457, //remote_id that will be sent in seamless requests
      "username":"xxdomendomen2",
      "balance":"20.00",
      "currencycode":"EUR",
      "created":"2013-02-15 14:57:47",
      "agent_balance":null
   }
}



public function createPlayer(){
	if($this->playerExists() === FALSE){
    	return $this->client->createPlayer($this->user);
	}else{
		return "player already exists";
	}
}