Skip to content

Conversation

@grichet
Copy link

@grichet grichet commented Jun 2, 2017

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
Copy link

Iwhite67 commented May 3, 2018

+1 for this @deStrO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants