I'm implementing a book search function using Amazon sdk, but I don't have a Keyword selected
"// You must specify at least one of actor, artist, author, brand, keyword, title"An error such as
I want to search within the range of "book (category)" and "SF (genre)" without selecting a keyword.
(If i select a keyword, you can only get books that contain that string.)
In the code below, I want to get only data that fits the specified genre without "$searchItemsRequest->setKeywords ($keyword);".
$keyword = 'Backworld'; $searchIndex = "Books"; $browseNodeId = "507300"; $itemCount = 1; $resources = array ( SearchItemsResource :: ITEM_INFOTITLE, SearchItemsResource :: OFFERSLISTINGSPRICE); $searchItemsRequest = new SearchItemsRequest (); $searchItemsRequest->setSearchIndex ($searchIndex); $searchItemsRequest->setKeywords ($keyword); $searchItemsRequest->setItemCount ($itemCount); $searchItemsRequest->setBrowseNodeId ($browseNodeId); $searchItemsRequest->setPartnerTag ($partnerTag); $searchItemsRequest->setPartnerType (PartnerType :: ASSOCIATES); $searchItemsRequest->setResources ($resources);
https: //docs.aws.amazon .com/AWSECommerceService/latest/DG/ItemSearch.html
While reading the official aws page, it says that the keyword is not required, so I'm wondering if it's necessary ...
Question 1: Is there a way to search in a broad genre called "SF" without entering any specific keywords?
Question 2: If i must absolutely include Keyword and other elements, is there a "thinking" or "idea" for searching only in a wide genre of "SF"?
I would appreciate it if you could teach me.
Answer # 1
Currently not possible with APIv5.
V4 doesn't work with Search but instead
ASIN acquisition by Browse->Details of ASIN were acquired by Item.
Since v5 cannot get ASIN with Browse, you have to wait for it.
- how to redisplay php search results without warning
- php - i am making a customer search system by studying, but i want to be able to connect to a database, but it does not work
- php - in wordpress 1 i want to display only fixed pages and 2 search results excluding specific categories
- about php search function
- php - how to refine your search for custom posts
- php - how can i narrow down the search to a fixed page?
- php - i want to get the number of search results (index number) of "site: ~" on google
- java - i want to perform search evaluation of board games without using recursive expressions
- php - the posting screen can be displayed without going through the login screen
- edit user information of each logged-in user without using db in php
- php - i want to save images using amazon s3 with the laravel app deployed on heroku
- php - i want to search wordpress in real time
- taxonomy-i want to implement a refined search on my custom taxonomyphp page
- cakephp 4: i get an error when uploading a file without input
- php - at the time of narrowing down search: i want to make a conditional branch when checking only parent terms or checking both
- php - i want to create a member site in wordpress without using a plugin
- some files are not searched by glob function (file search) of php
- php - want to customize wordpress bbpress site search results
- amazon s3 - i want to preview an excel file stored in s3 on aws without downloading
- regarding the acquisition and output of php legal api
- nginx - i want to allow api access only for requests from aws amplify
- how to upgrade joomla's php version
- aws - is it possible to use my own api for cross-origin block countermeasures?
- php - wordpress says i got an important error and can't install
- aws - what is http api? aws-specific service? general name?
- aws - cloudfront-api key authentication on api gateway results in 403 error
- [execution of python from php] how to describe environment variables of requests in php file
- php : Send message to Whatsapp