First request sent reads total number of pages from PageInfo. This number can be used as the upper limit of the range for the Enum.map call. This means we send an extra request just to get the total pages.
To avoid the extra request, we can make get_tourney_page() a recursive function that adds entries from a page to an accumulative list and returns after the last page.
I went with approach 2, but I'm open to any other suggestions.
PR for #58
I considered two approaches for this:
I went with approach 2, but I'm open to any other suggestions.