Page 1 of 1
API - Get player won/loss for X dates...
Posted: Thu May 07, 2020 6:40 pm
by Sidewinder
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
Re: API - Get player won/loss for X dates...
Posted: Thu May 07, 2020 7:29 pm
by Kent Briggs
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?
The API will just retrieve the log files, you would have to parse them with your own code.
Re: API - Get player won/loss for X dates...
Posted: Tue May 12, 2020 12:12 am
by Sidewinder
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
Re: API - Get player won/loss for X dates...
Posted: Tue May 12, 2020 9:21 am
by Kent Briggs
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 just moved 200 chips from his account to the table. So he either just joined the table or did a rebuy while there.
Player X +137 balacne 620.85 (Table #1)
means he won 137 dollar during that game?
It means the player added the 137 in his stack back to his account balance. Which can only occur by leaving the table.
Re: API - Get player won/loss for X dates...
Posted: Tue May 12, 2020 9:23 am
by Kent Briggs
Sidewinder wrote:so all I have to do is loop the time frame, and add these #s?
You can just look at the Balance, which gets recorded every time it changes.