Page 1 of 1

AccountsTransactions API: add Type to response

Posted: Tue Dec 03, 2024 12:36 pm
by strobe878
Request for adding the table type to the response. I.e., "T" if a tournament table, "R" if a ring table, blank otherwise.

Re: AccountsTransactions API: add Type to response

Posted: Tue Dec 03, 2024 12:50 pm
by Kent Briggs
The transactions database has a source column but it's just a text note, it can't distinguish between ring game and tournament names. They may not even exist anymore when the query is made.

Re: AccountsTransactions API: add Type to response

Posted: Tue Dec 03, 2024 1:38 pm
by strobe878
Hmmmmm . . . any suggestions for breaking out win/loss over time between cash games and tournaments?

Re: AccountsTransactions API: add Type to response

Posted: Tue Dec 03, 2024 4:20 pm
by Kent Briggs
strobe878 wrote: Tue Dec 03, 2024 1:38 pm Hmmmmm . . . any suggestions for breaking out win/loss over time between cash games and tournaments?
You would need to interpret the Source column text in your code and decide if it came from a tournament, ring, or other.

Re: AccountsTransactions API: add Type to response

Posted: Tue Dec 03, 2024 7:59 pm
by strobe878
Yeah I'm not seeing any other way to do it. Will just have to follow some naming convention to distinguish.

Re: AccountsTransactions API: add Type to response

Posted: Sun Dec 15, 2024 6:29 pm
by setspike
I added a "[T}" to all of my tournament names in order to do this.