Pagination¶
Methods that list things (get_top, get_children, get_issues, get_tags_list, get_models,
and so on) return lazy iterators. Pages are fetched as you iterate, so:
- you can stop early without downloading everything;
- nothing is fetched until you start iterating.
Common patterns¶
Page size¶
Paginated methods take skip and take arguments. skip sets the starting offset and take
sets how many items each request fetches. The iterator keeps requesting pages until the API runs
out of results, so take controls the number of round trips, not the total returned. The
defaults suit most uses.