Stats for API!

Add your suggestions for improving Poker Mavens

Stats for API!

Postby poker4life » Sat Mar 07, 2009 10:16 pm

Would be nice to display stats in php...

like pots won, cards seen? just about anything would be sick. thoughts?
poker4life
 
Posts: 7
Joined: Sat Jan 31, 2009 9:36 pm

Re: Stats for API!

Postby Kent Briggs » Sat Mar 07, 2009 10:48 pm

poker4life wrote:Would be nice to display stats in php...

like pots won, cards seen? just about anything would be sick. thoughts?


Some basic stats like that are displayed live in the client for each particular table. A more comprehensive system would require parsing through the hand history files which is how programs like Poker Tracker and Poker Office work. I don't currently have any API calls related to hand history files but you could open them with another program (including PHP) was running on same machine as the game server.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3909
Joined: Wed Mar 19, 2008 8:47 pm

Re: Stats for API!

Postby poker4life » Sat Mar 07, 2009 11:12 pm

Would you consider adding them to the API?
poker4life
 
Posts: 7
Joined: Sat Jan 31, 2009 9:36 pm

Re: Stats for API!

Postby Kent Briggs » Sat Mar 07, 2009 11:31 pm

poker4life wrote:Would you consider adding them to the API?


I'd consider having the API just fetch a hand history file. Then you could do what you wanted with it on your end. I probably wouldn't want to bog the game server down parsing through files and crunching numbers, though. Although I might consider creating an external application that could.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3909
Joined: Wed Mar 19, 2008 8:47 pm

Re: Stats for API!

Postby poker4life » Sat Mar 07, 2009 11:47 pm

Thanks, I think it would be really useful to people.
poker4life
 
Posts: 7
Joined: Sat Jan 31, 2009 9:36 pm

Re: Stats for API!

Postby Kent Briggs » Sun Mar 08, 2009 8:27 pm

Kent Briggs wrote:
poker4life wrote:Would you consider adding them to the API?

I'd consider having the API just fetch a hand history file.


The ability to remotely fetch a hand history file is now in 2.35. A PHP example of how to use it has been posted to the official API examples page:

http://www.briggsoft.com/docs/pmavens/API_Examples.htm
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3909
Joined: Wed Mar 19, 2008 8:47 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 5 guests

cron