In poker mavens 5, unlike pm4, the rake is saved in a db and not in txt files. At least as far as I know.
How can I retrieve this data from the database?
Retrieve rake
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Retrieve rake
Rake on individual hands is still being recorded in the text-based hand history files, same as before. What's new in version 5 is that every player now has 3 new account settings called PRake, ERake, and TFees which accumulates their personal rake and tourney fee contributions so that if you want to implement a rakeback or frequent-player-point system, you can just grab those numbers from their account settings rather than have to parse every hand history file to add them up. See item 19 in the FAQ: http://www.briggsoft.com/pmfaq.htm
-
- Posts: 66
- Joined: Thu Feb 13, 2014 1:15 pm
Re: Retrieve rake
Is there an API to get these values?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Retrieve rake
AccountsGet and AccountsList in the API will do that.BitingBummer wrote:Is there an API to get these values?
-
- Posts: 66
- Joined: Thu Feb 13, 2014 1:15 pm
Re: Retrieve rake
And there's no way to get the delta between different time periods of the rake, for instance, the ERake for this month only. Except for parsing the hands file. Right?Kent Briggs wrote:AccountsGet and AccountsList in the API will do that.BitingBummer wrote:Is there an API to get these values?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Retrieve rake
Or you could run your script once per day, fetch the numbers, and save them in your own database.BitingBummer wrote:And there's no way to get the delta between different time periods of the rake, for instance, the ERake for this month only. Except for parsing the hands file. Right?
-
- Posts: 66
- Joined: Thu Feb 13, 2014 1:15 pm
Re: Retrieve rake
Good idea, thank you.Kent Briggs wrote:Or you could run your script once per day, fetch the numbers, and save them in your own database.BitingBummer wrote:And there's no way to get the delta between different time periods of the rake, for instance, the ERake for this month only. Except for parsing the hands file. Right?