TournamentsResults Number API calls failing
-
michaelmlevin
- Posts: 60
- Joined: Thu Apr 09, 2020 12:23 pm
TournamentsResults Number API calls failing
The TournamentsResults API (assuming I'm using the correct version) includes a "number" parameter, which (if used by itself) should return the results of that single tournament. Instead, it returns "Tourney number not found in cache" rather than something like "parameter not supported" — which suggests it's a partially implemented feature that worked at some point or works under certain conditions. I'd like to know if I'm trying to use something that is unsupported, if there's something about using it that I'm missing, or if it's an actual bug. I was running version 7.17 when I first noticed it and I just updated to 7.30 and it does the same thing.
-
Kent Briggs
- Site Admin
- Posts: 6046
- Joined: Wed Mar 19, 2008 8:47 pm
Re: TournamentsResults Number API calls failing
The results of the last 100 tournaments played are saved in a memory cache. That is when you can use the Number parameter. That cache is cleared if you stop and restart the poker server. So you likely did that or you're trying to retrieve results that were more than 100 tournaments ago.