tan-tan-kanarek / github-php-client

MIT License
184 stars 120 forks source link

How to iterate over all pages #89

Closed ryandesign closed 8 years ago

ryandesign commented 8 years ago

It's unclear how to iterate over all pages of results. I can get the first page, the next page, or the last page, but I don't see how to construct a loop that iterates over every page from the first to the last. Your existing sample code assumes there are exactly two pages of results. Your full API reference does not include the pagination functions.

DeepDiver1975 commented 8 years ago

Yes - this requires some more documentation please

tan-tan-kanarek commented 8 years ago

See: https://github.com/tan-tan-kanarek/github-php-client#pagination