Tournament register from site

For discussion of the Poker Mavens server module and other administration topics

Tournament register from site

Postby narayan » Fri Dec 17, 2010 7:21 pm

Is it posible to create an API wich lists the Tournaments and alow you to register from a website ?
narayan
 
Posts: 13
Joined: Wed Dec 08, 2010 6:04 am

Re: Tournament register from site

Postby Kent Briggs » Fri Dec 17, 2010 7:33 pm

narayan wrote:Is it posible to create an API wich lists the Tournaments and alow you to register from a website ?


Yes, that already exists. TournamentsList and TournamentsRegister are the applicable API commands. See the Technical Information | API topic in the help file for the details.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3806
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament register from site

Postby narayan » Sat Dec 18, 2010 5:16 am

can you help with a simple php example ?
I`m novice in php and never worked with API.
The idea is for the use who logs via website to register on a tournament without loging to poker client.

Thank you !
narayan
 
Posts: 13
Joined: Wed Dec 08, 2010 6:04 am

Re: Tournament register from site

Postby Kent Briggs » Sat Dec 18, 2010 10:32 am

narayan wrote:can you help with a simple php example ?
I`m novice in php and never worked with API.
The idea is for the use who logs via website to register on a tournament without loging to poker client.
Thank you !


See the API examples page here, particularly the one for Tournament Results:

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

Letting people register would be more complicated, however. Presumably you would want to authenticate the people doing it, otherwise anyone could register (or register) a different player, which causes chips to be removed from their account, etc. And so that would require building a player login system into your web interface, also.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3806
Joined: Wed Mar 19, 2008 8:47 pm


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 2 guests