twilio/twilio-python — pull request #109 by sologoub (2013-02-09 20:07:01+00:00)
Title: Paging improvement for ListResource class and Calls class.

When querying for large number of calls, paging becomes very inconvenient, as you are forced to guess how many calls are in a given list request with filtered parameters. count() only gives total calls.

These changes allow for the number of pages to be returned and then used for a paging loop without any extra calculations.