/
5.2 getDailyReport()
5.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": { "982167": { "id": "4983", "playerid": "982167", "date": "2019-07-11", "bet": 10.8, "win": 4.71, "tbet": "0.00", "twin": "0.00", "net": 6.09, "gamesPlayed": 13, "rake": 0, "fin": 0, "jackpotContribution": "0.0000", "jackpotContributionWin": "0.0000", "freeWin": "0.00", "bonusBet": "0.00", "bonusWin": "0.00", "tip": "0.00", "fee": "5.00", "tournament": 0, "rbet": "0.00", "system": "es,bs", "username": "z09981855", "username_real": "981855", "associateid": "0" } }, "poker": [], "allowed_systems": [ "es", "bs" ], "each_system": { "es": { "982167": { "id": "4983", "playerid": "982167", "date": "2019-07-11", "bet": "2.00", "win": "4.00", "tbet": "0.00", "twin": "0.00", "net": "-2.00", "gamesPlayed": "2", "rake": "0.00", "fin": "0.00", "jackpotContribution": "0.0000", "jackpotContributionWin": "0.0000", "freeWin": "0.00", "bonusBet": "0.00", "bonusWin": "0.00", "tip": "0.00", "fee": "5.00", "tournament": "0.00", "rbet": "0.00" }, "bs": { "982167": { "id": "3689", "playerid": "982167", "date": "2019-07-11", "bet": "0.40", "win": "0.15", "tbet": "0.00", "twin": "0.00", "net": "0.25", "gamesPlayed": "4", "rake": "0.00", "fin": "0.00", "jackpotContribution": "0.0000", "jackpotContributionWin": "0.0000", "freeWin": "0.00", "bonusBet": "0.00", "bonusWin": "0.00", "tip": "0.00", "fee": "0.00", "tournament": "0.00", "rbet": "0.00" } } } }, "currency": "EUR" }
Meaning | |
---|---|
Player ID |
Source Code
public function getDailyReport($date,$associateid = 0){ return $this->client->getDailyReport($date,$associateid); }
Related content
5.3 getDailyReportMulti()
5.3 getDailyReportMulti()
More like this
4.1 getGameHistory() *
4.1 getGameHistory() *
Read with this
7.2 getDailyReport()
7.2 getDailyReport()
More like this
1.1 getGameList() *
1.1 getGameList() *
Read with this
6.1 getDailyBalances()
6.1 getDailyBalances()
More like this
2.5 getSystemUsername()
2.5 getSystemUsername()
Read with this