Amazon-ECS-PHP-Library
Amazon-ECS-PHP-Library copied to clipboard
Added searchWithParameters function
Added a function which will allow you to search with all parameters available in the ItemSearchRequest call (Artist, Author, Title).
Usage: $requestArray = array();
$requestArray['Author'] = "Stephen King"; $requestArray['Title'] = "The Shining";
$ecsObj->searchWithParameters($requestArray);
Thanks for your pull request. But putting this in a new function i think it is the wrong way.
Could you integrate this feature in the current search method? You can handle this by determining the type of the serach parameter.
If it is an array then do the new stuff else do the normal stuff.
Removed the new function and modified the "search" function to accept an array of patterns.
Integrated the feature with the current search method.