Before I dig into the API is it possible via the API to calculate a players Won/Less (tourney and live play) for a certain time frame?
If so are there any examples in the forum or anywhere online?
Thanks
API - Get player won/loss for X dates...
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: API - Get player won/loss for X dates...
The API will just retrieve the log files, you would have to parse them with your own code.Sidewinder wrote:Before I dig into the API is it possible via the API to calculate a players Won/Less (tourney and live play) for a certain time frame?
-
- Posts: 19
- Joined: Wed Apr 22, 2020 9:02 pm
Re: API - Get player won/loss for X dates...
so if the entry is:
Player-Y -200 balance 302 (Table #1)
then that means Player Y lost -200 when he quit the game?
and
Player X +137 balacne 620.85 (Table #1)
means he won 137 dollar during that game?
so all I have to do is loop the time frame, and add these #s?
Thanks
Player-Y -200 balance 302 (Table #1)
then that means Player Y lost -200 when he quit the game?
and
Player X +137 balacne 620.85 (Table #1)
means he won 137 dollar during that game?
so all I have to do is loop the time frame, and add these #s?
Thanks
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: API - Get player won/loss for X dates...
It means the player just moved 200 chips from his account to the table. So he either just joined the table or did a rebuy while there.Sidewinder wrote:so if the entry is:
Player-Y -200 balance 302 (Table #1)
then that means Player Y lost -200 when he quit the game?
It means the player added the 137 in his stack back to his account balance. Which can only occur by leaving the table.Player X +137 balacne 620.85 (Table #1)
means he won 137 dollar during that game?
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: API - Get player won/loss for X dates...
You can just look at the Balance, which gets recorded every time it changes.Sidewinder wrote:so all I have to do is loop the time frame, and add these #s?