Closed jsifalda closed 7 years ago
No I don't have an example of this.
@jsifalda Are you trying to use the URL for a specific reason?
There is a setting undocumented in this modules which you can use an ItemPage
setting.
const {OperationHelper} = require('apac');
const opHelper = new OperationHelper({
awsId: '[YOUR AWS ID HERE]',
awsSecret: '[YOUR AWS SECRET HERE]',
assocId: '[YOUR ASSOCIATE TAG HERE]'
});
opHelper.execute('ItemSearch', {
'SearchIndex': 'Books',
'Keywords': 'harry potter',
'ResponseGroup': 'ItemAttributes,Offers',
'ItemPage` : 2 // or whatever the next page you're looking for
}).then((response) => {
console.log("Results object: ", response.result);
console.log("Raw response body: ", response.responseBody);
}).catch((err) => {
console.error("Something went wrong! ", err);
});
ItemPage is great! thanks @ComputerCarl 👍
Hello, is there any example how it would look like when I want to use your lib to process response.result.ItemSearchResponse.Items.MoreSearchResultsUrl ??
Thanks in advance.