Tournament register from site
Tournament register from site
Is it posible to create an API wich lists the Tournaments and alow you to register from a website ?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament register from site
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 wrote:Is it posible to create an API wich lists the Tournaments and alow you to register from a website ?
Re: Tournament register from site
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 !
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 !
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament register from site
See the API examples page here, particularly the one for Tournament Results: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 !
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.