TournamentsResults API

For general discussion of the Poker Mavens software
Post Reply
segmentlime
Posts: 33
Joined: Wed Apr 22, 2020 4:39 pm

TournamentsResults API

Post by segmentlime »

Hello,

I am doing some work with the TournamentResults API. I am using a version greater than 7.09.

I am using the Number parameter to query specific game results.

The api was working for a particular number, but then stopped working for that number and returned the result

{"Result":"Error","Error":"Tourney number not found in cache"}

When i query using the date, and the name (a tournament i created just for testing) three game results are returned and i can see the first of these is the number returning the error. If i query using number for the other two, these return the specific game results.

What does this error mean? is the cache somehow not persistent?

Your support is appreciated.
Kent Briggs
Site Admin
Posts: 6015
Joined: Wed Mar 19, 2008 8:47 pm

Re: TournamentsResults API

Post by Kent Briggs »

It's a memory cache (same as the hand history cache) so that only works during the current session. To pull logs after an offline/online restart you have to pull the whole file and then parse out the parts you want.
Post Reply