API for user Chip Transfer and Report

For discussion of the Poker Mavens server module and other administration topics
Post Reply
fafafa
Posts: 41
Joined: Thu Feb 23, 2012 10:01 am

API for user Chip Transfer and Report

Post by fafafa »

hi kent , what is API for user Chip Transfer and Report ??? tnx
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API for user Chip Transfer and Report

Post 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.
fafafa
Posts: 41
Joined: Thu Feb 23, 2012 10:01 am

Re: API for user Chip Transfer and Report

Post by fafafa »

tnx kent but i wantchip transfer API for user to user
fafafa
Posts: 41
Joined: Thu Feb 23, 2012 10:01 am

Re: API for user Chip Transfer and Report

Post by fafafa »

tnXXXX kent i getet:D can u tell me how Report work?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API for user Chip Transfer and Report

Post 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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API for user Chip Transfer and Report

Post by Kent Briggs »

fafafa wrote:can u tell me how Report work?
What report?
fafafa
Posts: 41
Joined: Thu Feb 23, 2012 10:01 am

Re: API for user Chip Transfer and Report

Post 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,....
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API for user Chip Transfer and Report

Post 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
Post Reply