Skip to content

support pagination in clients, with unit test. basic fifo queue to avoid rate limiting - #1

Open
furiousOyster wants to merge 2 commits into
hashdog:masterfrom
furiousOyster:master
Open

support pagination in clients, with unit test. basic fifo queue to avoid rate limiting#1
furiousOyster wants to merge 2 commits into
hashdog:masterfrom
furiousOyster:master

Conversation

@furiousOyster

Copy link
Copy Markdown

Freshbooks limits api requests, so we can't just make them as fast as we would like.

http://www.freshbooks.com/developers
Request Limits
There are no limit on the number of API requests per day. However, requests will be rate-limited if too many calls are made within a short period of time. Additionally, a maximum of 100 results will be returned for list methods, regardless of the value sent with the per_page parameter.

On the phone, they said 15 completed requests per second.

Also we need pagination, if we have a large number of clients.

tom added 2 commits August 28, 2015 07:14
unit test added for pagination.
default pagination set as explaining variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant