Retrieves the player statistics for all currencies, per given date.
Date passed must not be for current day. |
public getDailyReportMulti( string $date [, int $associateid = integer 0 ] )
string
$date required - In Y-m-d format (Aug. 9 2012 is represented as '2012-08-09')int
$associateid = integer 0 - Associate id for which to retrieve reports, default = 0array
// returned data example array ( 'casino' => //array containing data with normal games array ( 455 => array ( 'playerid' => '455', 'date' => '2012-08-08', 'bet' => '4.00', 'win' => '8.00', 'net' => '-4.00', 'username' => 'Samuele', ), 473 => array ( 'playerid' => '473', 'date' => '2012-08-08', 'bet' => '3.00', 'win' => '1.00', 'net' => '2.00', 'username' => 'nico', ), 160 => array ( 'playerid' => '160', 'date' => '2012-08-08', 'bet' => '2016.00', 'win' => '1917.00', 'net' => '99.00', 'username' => 'C3AC001', ), ), 'poker' => //array containing data with poker games array ( 455 => array ( 'playerid' => '455', 'date' => '2012-08-08', 'bet' => 291.18, 'win' => 300.83, 'rake' => 13.55, 'tournament' => 0, 'fin' => -133.43, 'username' => 'Samuele', ), ) |
Array ( [api_password] => xapitest [api_login] => xapitest [method] => getDailyReportMulti [date] => 2012-09-19 [associateid] => 0 [currency] => EUR ) |
{"error":0,"response":{"casino":{"41457":{"playerid":"41457","date":"2012-09- 19","bet":"14520.00","win":"13102.00","net":"1418.00"}},"poker":{"41457_rr":{"playerid":"41457","date":"2012-09 -19","bet":"1.00","win":"4.00","rake":"13.00","tournament":"0.00","fin":"0.00","system":"rr"}}}} |
public function getDailyReport($date,$associateid = 0){ return $this->client->getDailyReport($date,$associateid); } |