Tournament register from site

For discussion of the Poker Mavens server module and other administration topics
Post Reply
narayan
Posts: 13
Joined: Wed Dec 08, 2010 6:04 am

Tournament register from site

Post by narayan »

Is it posible to create an API wich lists the Tournaments and alow you to register from a website ?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament register from site

Post by Kent Briggs »

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.
narayan
Posts: 13
Joined: Wed Dec 08, 2010 6:04 am

Re: Tournament register from site

Post by narayan »

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

Re: Tournament register from site

Post by Kent Briggs »

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