Idea

Add your suggestions for improving Poker Mavens

Idea

Postby poker4life » Wed Mar 04, 2009 7:56 pm

How about allowing a way to save tournament results to a mysql database?

Like winners and stuff?
poker4life
 
Posts: 7
Joined: Sat Jan 31, 2009 9:36 pm

Re: Idea

Postby Kent Briggs » Wed Mar 04, 2009 9:12 pm

poker4life wrote:How about allowing a way to save tournament results to a mysql database?

Like winners and stuff?


You can retrieve tournament results via the API and store them in your own database.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3801
Joined: Wed Mar 19, 2008 8:47 pm

Re: Idea

Postby poker4life » Thu Mar 05, 2009 4:58 pm

how?
poker4life
 
Posts: 7
Joined: Sat Jan 31, 2009 9:36 pm

Re: Idea

Postby Kent Briggs » Thu Mar 05, 2009 5:04 pm

Use the TournamentResults command in the API. Here's that section from the help file:

TournamentResults - retrieves a tournament results file. Use a Date parameter to specify the day the tournament finished in the form of yyyy-mm-dd. Use a Name parameter to specify the name of the tournament. If found, the entire contents of the results file (as saved in the TourneyResults folder) will be returned immediately after the "Result=Ok" line, similar to this example:

Results=Ok
Tournament=Tournament #1
Number=39
BuyIn=1500
Entrants=2
Start=2008-07-12 13:41:21
Place2=BoneCrusher (0)
Place1=Aces123 (3000)
Stop=2008-07-12 13:42:04

Tournament=Tournament #1
Number=40
BuyIn=1500
Entrants=3
Start=2008-07-12 17:11:26
Place3=DeathBot (0)
Place2=Aces123 (0)
Place1=BoneCrusher (4500)
Stop=2008-07-12 17:12:08

Online docs for API:
http://www.briggsoft.com/docs/pmavens/Technical_Interface.htm

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


Return to Wish List

Who is online

Users browsing this forum: No registered users and 1 guest

cron