7.2 getDailyReport()
Retrieves the player statistics per given date.
Date passed must not be for current day.
public getDailyReport( string $date [, int $associateid = integer 0 ] )
Parameters
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 = 0
Return Values
array
REST REQUEST
Array ( [api_password] => xapitest [api_login] => xapitest [method] => getDailyReport [date] => 2012-09-19 [associateid] => 0 [currency] => EUR )
REST RESPONSE
{"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"}}}}
Source Code
public function getDailyReport($date,$associateid = 0){ return $this->client->getDailyReport($date,$associateid); }
, multiple selections available,