agoragames/leaderboard — pull request #21 by hypomodern (2012-07-27 17:15:52+00:00)
Title: Get entire leaderboard

If I have a leaderboard that I know is going to be a variable--but modest--size, I'd like to retrieve the whole thing in one request without pagination or specifying an arbitrarily large page_size.

Here's a sample implementation. I'm willing to do some refactoring to reduce duplication between the paged and unpaged versions of this if you're interested in including this.