Complete the cursor-pagination loop: the API hands back (items, next_cursor), and next_cursor is None on the last page.