AccountsTransactions API: add Type to response
AccountsTransactions API: add Type to response
Request for adding the table type to the response. I.e., "T" if a tournament table, "R" if a ring table, blank otherwise.
-
Kent Briggs
- Site Admin
- Posts: 6015
- Joined: Wed Mar 19, 2008 8:47 pm
Re: AccountsTransactions API: add Type to response
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
Hmmmmm . . . any suggestions for breaking out win/loss over time between cash games and tournaments?
-
Kent Briggs
- Site Admin
- Posts: 6015
- Joined: Wed Mar 19, 2008 8:47 pm
Re: AccountsTransactions API: add Type to response
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
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
I added a "[T}" to all of my tournament names in order to do this.