API - Get player won/loss for X dates...

For general discussion of the Poker Mavens software
Post Reply
Sidewinder
Posts: 19
Joined: Wed Apr 22, 2020 9:02 pm

API - Get player won/loss for X dates...

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

Re: API - Get player won/loss for X dates...

Post 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.
Sidewinder
Posts: 19
Joined: Wed Apr 22, 2020 9:02 pm

Re: API - Get player won/loss for X dates...

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

Re: API - Get player won/loss for X dates...

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

Re: API - Get player won/loss for X dates...

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