How to use TournamentsResults API call?
Posted: Fri Jan 06, 2023 8:03 pm
I'm struggling a bit with this call when we have several of the same SNG running the same day (or any other tourney where the tournament name is the same really). I use this to send the result to everyone, once the SNG is finished.
When I fire the call with name and date, I get all the SNG tournaments (with the same name) that has run on that date. Using Start -1 doesn't change anything until I use Count. However, how do I know how many lines to pull with the Count parameter as number of participants will vary?
I'm not sure how it is intended to be used to only retrieve the last tournament with the same name. Is this even possible?
When I fire the call with name and date, I get all the SNG tournaments (with the same name) that has run on that date. Using Start -1 doesn't change anything until I use Count. However, how do I know how many lines to pull with the Count parameter as number of participants will vary?
I'm not sure how it is intended to be used to only retrieve the last tournament with the same name. Is this even possible?