1
0
mirror of synced 2024-12-01 01:36:07 +03:00
api-client-php/doc/usage/examples/complex_pagination/index.md
2021-06-02 17:00:32 +03:00

9 lines
487 B
Markdown

Here are some complex examples of pagination handling. In this case, we're using a special component that handles the pagination for us.
As a result, we can just iterate over batches of the data using `foreach`.
More than that, this component automatically handles rate limit exceptions.
* [Fetching customers](example_customers_list.php)
* [Fetching customers history](example_customers_history.php)
* [Pagination component (`PaginatedRequestIterator`)](PaginatedRequestIterator.php)