Note that there are some explanatory texts on larger screens.

plurals
  1. POAmazon api not showing price when using ASIN
    primarykey
    data
    text
    <p>I need to get the top selling books along with it's details from amazon jp.</p> <p>As of now, I can get the top selling books but it only gives <code>ASIN</code> and <code>TITLE</code> for each item.</p> <pre><code>&lt;TopSeller&gt; &lt;ASIN&gt;4047318752&lt;/ASIN&gt; &lt;Title&gt;艦これ白書 -艦隊これくしょん オフィシャルブック-&lt;/Title&gt; &lt;/TopSeller&gt; </code></pre> <p>So I need to get the item's details separately. I can get the details now but there is no <code>PRICE</code> even if I include <code>OFFERS</code> and it's variations.</p> <p>This is the uri I use:</p> <pre><code>http://webservices.amazon.co.jp/onca/xml?" . "Service=AWSECommerceService" . "&amp;Operation=ItemLookup" . "&amp;BrowseNodeId=465610" . "&amp;MerchantId=Amazon" . "&amp;Condition=All" . "&amp;IdType=ASIN" . "&amp;Availability=Available" . "&amp;Version=2011-08-01" . "&amp;AssociateTag=$this-&gt;associateTag" . "&amp;BrowseNode=17". "&amp;ItemId=$itemIds" . "&amp;ResponseGroup=OfferFull"; </code></pre> <p>This is working, it's just that the price is not getting listed, and I just omitted the other <code>ResponseGroup</code>.</p> <p>If you have another idea of getting the top selling books with details and price. I'd be more than happy to see it.</p> <p>As Requested by CyberMJ:</p> <p>Request:</p> <pre><code>"http://webservices.amazon.co.jp/onca/xml?" . "Service=AWSECommerceService" . "&amp;Operation=ItemLookup" . "&amp;BrowseNodeId=465610" . "&amp;MerchantId=Amazon" . "&amp;Condition=All" . "&amp;IdType=ASIN" . "&amp;Availability=Available" . "&amp;Version=2011-08-01" . "&amp;AssociateTag=$this-&gt;associateTag" . "&amp;BrowseNode=17". "&amp;ItemId=$itemIds" . "&amp;ResponseGroup=Variations"; </code></pre> <p>Response:</p> <pre><code> &lt;ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"&gt; &lt;OperationRequest&gt; &lt;HTTPHeaders&gt; &lt;Header Name="UserAgent" Value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36"/&gt; &lt;/HTTPHeaders&gt; &lt;RequestId&gt;b66dda52-62bf-495e-abd5-f2f9a8d96eeb&lt;/RequestId&gt; &lt;Arguments&gt; &lt;Argument Name="Condition" Value="All"/&gt; &lt;Argument Name="Operation" Value="ItemLookup"/&gt; &lt;Argument Name="Service" Value="AWSECommerceService"/&gt; &lt;Argument Name="AssociateTag" Value="mediabooks0db-20"/&gt; &lt;Argument Name="BrowseNode" Value="17"/&gt; &lt;Argument Name="Version" Value="2011-08-01"/&gt; &lt;Argument Name="Signature" Value="/tC4kFaeaxsvL11YLthHe09PHKUQVAxTTZrf6D8FXiw="/&gt; &lt;Argument Name="Availability" Value="Available"/&gt; &lt;Argument Name="MerchantId" Value="Amazon"/&gt; &lt;Argument Name="ItemId" Value="B00DYKPPGM,4047318752,4103345918,4047292664,B00DYKPPGM,4758007837"/&gt; &lt;Argument Name="BrowseNodeId" Value="465610"/&gt; &lt;Argument Name="IdType" Value="ASIN"/&gt; &lt;Argument Name="AWSAccessKeyId" Value="AKIAIGEZH2RG5QKAUQ5Q"/&gt; &lt;Argument Name="Timestamp" Value="2013-09-19T12:04:18Z"/&gt; &lt;Argument Name="ResponseGroup" Value="Variations"/&gt; &lt;/Arguments&gt; &lt;RequestProcessingTime&gt;0.0160898510000000&lt;/RequestProcessingTime&gt; &lt;/OperationRequest&gt; &lt;Items&gt; &lt;Request&gt; &lt;IsValid&gt;True&lt;/IsValid&gt; &lt;ItemLookupRequest&gt; &lt;Condition&gt;All&lt;/Condition&gt; &lt;IdType&gt;ASIN&lt;/IdType&gt; &lt;MerchantId&gt;Deprecated&lt;/MerchantId&gt; &lt;ItemId&gt;B00DYKPPGM&lt;/ItemId&gt; &lt;ItemId&gt;4047318752&lt;/ItemId&gt; &lt;ItemId&gt;4103345918&lt;/ItemId&gt; &lt;ItemId&gt;4047292664&lt;/ItemId&gt; &lt;ItemId&gt;B00DYKPPGM&lt;/ItemId&gt; &lt;ItemId&gt;4758007837&lt;/ItemId&gt; &lt;ResponseGroup&gt;Variations&lt;/ResponseGroup&gt; &lt;VariationPage&gt;All&lt;/VariationPage&gt; &lt;/ItemLookupRequest&gt; &lt;/Request&gt; &lt;Item&gt; &lt;ASIN&gt;B00DYKPPGM&lt;/ASIN&gt; &lt;/Item&gt; &lt;Item&gt; &lt;ASIN&gt;4047318752&lt;/ASIN&gt; &lt;/Item&gt; &lt;Item&gt; &lt;ASIN&gt;4103345918&lt;/ASIN&gt; &lt;/Item&gt; &lt;Item&gt; &lt;ASIN&gt;4047292664&lt;/ASIN&gt; &lt;/Item&gt; &lt;Item&gt; &lt;ASIN&gt;4758007837&lt;/ASIN&gt; &lt;/Item&gt; &lt;/Items&gt; &lt;/ItemLookupResponse&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload