Granga / etsy-ts

Etsy API wrapper written in typescript
https://www.npmjs.com/package/etsy-ts
MIT License
37 stars 5 forks source link

Way to fetch ALL (as opposed to limited to 100) records #1

Closed Granga closed 1 year ago

Granga commented 7 years 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.

Granga commented 1 year ago

The API client doesn't need to have this. It can be implemented within the project that depends on this client.