deStrO / eBot-CSGO-Web

The eBot CS:GO panel
http://www.esport-tools.net/ebot
95 stars 71 forks source link

Add API filter to retrieve only not completed matches #90

Open grichet opened 7 years ago

grichet commented 7 years ago

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 ;)

Iwhite67 commented 6 years ago

+1 for this @deStrO