[PEAR] Using Amazon API's ItemSearch for Multi-keyword Search
I tried using ItemSearch from PEAR :: Services_Amazon, which can use the Amazon API, to search with multiple keywords.
・Reference: Docs For Class Services_Amazon
The usage sample for ItemSearch looks like this:
ItemSearch('Books', $options);
?>
By modifying the $options[‘Keywords’] part as shown below, you can search with multiple keywords like “book title,” “author name,” and “publisher name.”
$title = 'Book title you want to search';
$author = 'Author name you want to search';
$publisher = 'Publisher name you want to search';
$options['Keywords'] = $title . $author . $publisher;
At this time, the “book title,” “author name,” and “publisher name” included in the keywords are not distinguished by Amazon during the search.
Amazon searches with the content of these three strings concatenated together.
That’s all from the Gemba.