Closed Granga closed 1 year ago
When there is a paginated data Etsy returns max of 100 records even though sometimes there can be thousands.
Create a way to iterate from 0 to results.count and accumulate all records and return them in one big array. Make use of offset parameter.
0 to results.count
offset
The API client doesn't need to have this. It can be implemented within the project that depends on this client.
When there is a paginated data Etsy returns max of 100 records even though sometimes there can be thousands.
Create a way to iterate from
0 to results.count
and accumulate all records and return them in one big array. Make use ofoffset
parameter.