jjanuszczak / freshdeskr

R client for Freshdesk
MIT License
2 stars 0 forks source link

Add support for pagination when retrieving tickets #15

Closed jjanuszczak closed 6 years ago

jjanuszczak commented 6 years ago

As a user, when getting a data frame of tickets, I want all tickets returned so that I don’t have to make several calls or deal with partially returned data.

As per the API reference, when viewing lists of data, the results are returned as pages. The tickets function should be updated to handle any required multiple calls to the API on behalf of the user.

jjanuszczak commented 6 years ago

Use jsonlite package bind_pages method for implementation. See Combining pages of JSON data with jsonlite