IsraelOrtuno / pipedrive

Complete Pipedrive API client for PHP
MIT License
166 stars 58 forks source link

Pagination with the all() function #29

Closed zang closed 7 years ago

zang commented 7 years ago

A quick question: Does the all() function return all the items even if there are thousands of them? If not, what's the best way to get the total number of the items for pagination purpose? thanks.

IsraelOrtuno commented 7 years ago

https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_find

Check this out and pass the necessary parameters, pagination is a matter of the API response.