get response to extract the totalResults using promises
Opened this issue · 2 comments
pedromguerra commented
How I get response (not results) to extract TotalPages, TotalResults, MoreSearchResultsUrl and so on using promises?
You show an example using callbacks to get it but with promises online get the results.
Thanks in advance
masterT commented
@t3chnoboy Maybe we should only return the original response in the callback and Promise. Then it API would be more consistent between the callback interface and the Promise interface. Don't you think?
budda commented
Is there much point in getting the TotalPages value back? From what I've just seen Amazons API will only allow an itemSearch() call to specify an itemPage of 1-5 -- anything above is invalid!
Confirmed this through the Product Advertising API console too.