eBot-CSGO-Web icon indicating copy to clipboard operation
eBot-CSGO-Web copied to clipboard

Add API filter to retrieve only not completed matches

Open grichet opened this issue 8 years ago • 1 comments

Since Toornament API retrieve only the 100 first matches if you don't add a pagination filter, it sometimes retrieve only completed matches. (e.g 120 matches on 140 are completed, retrieve only completed matches and eBot don't display any match).

To prevent that, you should had the 'has_result' filter to '0', to retrieve only pending matches.

In a perfect world you should handle a pagination (in case more than a hundred matches were not completed/pending).

have a nice day ;)

grichet avatar Jun 02 '17 16:06 grichet

+1 for this @deStrO

Iwhite67 avatar May 03 '18 10:05 Iwhite67