joedawson / amazon-ecs

With Laravel, search and lookup Amazon products easily.
MIT License
52 stars 26 forks source link

How to paginate results? #7

Closed esedArk closed 7 years ago

esedArk commented 7 years ago

Hi! How to paginate a results?

Any method ->paginate() ?

Thanks

esedArk commented 7 years ago

in AmazonECS.php

Add param 'ItemPage' and get page with function

$params = $this->params(['ItemPage' => $page, 'Keywords' => $query, 'SearchIndex' => 'All', 'ResponseGroup' => 'Images,ItemAttributes']);

joedawson commented 7 years ago

Hey @esedArk,

This seems like a logical feature to implement - I'll try and implement it this weekend.

joedawson commented 7 years ago

Just keeping you in the loop @esedArk, although you may have moved on by now. Would still like to implement this, but struggling to find the time to fit in. Will close for now, you can keep an eye out for new releases.