Page 1 of 1

API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 3:43 pm
by fafafa
hi kent , what is API for user Chip Transfer and Report ??? tnx

Re: API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 4:39 pm
by Kent Briggs
fafafa wrote:hi kent , what is API for user Chip Transfer and Report ??? tnx
That requires two commands. Use AccountsDecBalance on the sending player and AccountsIncBalance on the receiving player.

Re: API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 4:45 pm
by fafafa
tnx kent but i wantchip transfer API for user to user

Re: API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 4:48 pm
by fafafa
tnXXXX kent i getet:D can u tell me how Report work?

Re: API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 7:28 pm
by Kent Briggs
fafafa wrote:tnx kent but i wantchip transfer API for user to user
What I described is how you do it. The internal chip transfer feature built into interface menu is not part of the API. Subtracting chips from one player and adding them to another is what it's doing internally anyway.

Re: API for user Chip Transfer and Report

Posted: Sun Sep 09, 2012 7:29 pm
by Kent Briggs
fafafa wrote:can u tell me how Report work?
What report?

Re: API for user Chip Transfer and Report

Posted: Mon Sep 10, 2012 2:44 am
by fafafa
API for user for he can see Report transfers, Report Poker doing like what time and date he joins room, win and loos,....

Re: API for user Chip Transfer and Report

Posted: Mon Sep 10, 2012 9:17 am
by Kent Briggs
fafafa wrote:API for user for he can see Report transfers, Report Poker doing like what time and date he joins room, win and loos,....
There are no built in reporting functions. All actions are recorded chronologically into the event logs and hand history files. See the Log Commands section in the API docs for specific commands on how to retrieve those. There are some PHP examples of that on the API Examples page:

http://www.briggsoft.com/docs/pmavens/API_Examples.htm

You'll have to parse through those to make your own reports. There are also some standalone admin utilities available for viewing log files and calculating rake stats on the Utilities page:

http://www.briggsoft.com/docs/pmavens/Utilities.htm