亚马逊商品广告API - 获得评审秩亚马逊、商品、广告、API

2023-09-11 10:47:46 作者:我爱你你爱他你是不是瞎i

使用亚马逊的API,它似乎是不可能的了,以获得产品的评审等级信息。检查 说明这个环节说:

Using the Amazon API it seems that it's not possible anymore to get the review rank information of a product. Checking this link the note says:

截至2010年11月8日,只有IFRAME的URL请求返回   的内容。

As of November 8, 2010, only the iframe URL is returned in the request content.

然而,他们建议得到iframe的PARAMS测试,但似乎现在连的iframe不工作了。因此,即使在这一章的最新API参考刺激顾客在购买部分评论是完全丢失。

However, testing with the params they suggest to get the Iframe, but it seems that now even the Iframe doesn't work anymore. Thus, even in the latest API Reference in the chapter "Motivating Customers to Buy" the part "reviews" is completely missing.

不过:因为我也是,如果它仍然有可能以某种方式获得评审等级信息很感兴趣 - 甚至不使用亚马逊的API,但竞争对手的API来获取评审等级信息 - 我希望有人能提供一些有用的这个主题。

However: Since I'm also very interested if it's still possible somehow to get the review rank information - maybe even not using the Amazon API but a competitor's API to get review rank information - I hope someone can provide something helpful on this topic.

推荐答案

preamble:我不知道,我知道你在寻找什么在这里,但我会分享我的结果反正。

Preamble: I'm not sure that I understand exactly what you are looking for here but I'll share my findings anyways.

我能够检索的iframe网址的评论,并能够看到它嵌入到一个.html页面后,审查iframe中。我用下面的属性来检索的iframe网址:

I was able to retrieve the iframe URL for the reviews and was able to see the reviews iframe after embedding it into an .html page. I used the following attributes to retrieve the iframe URL:

Operation=ItemLookup&
ItemId=1451648537&
ResponseGroup=Reviews&
TruncateReviewsAt="256"&
IncludeReviewsSummary="False"&
Version=2011-08-01                 <= important: can't be less than this version
AssociateTag=<YourAssociateTag>    <= required when using this version, can be anything (not verified by Amazon)

响应的相关部分:

The relevant part of the response:

<Item>
    <ASIN>1451648537</ASIN>
    <CustomerReviews>
        <IFrameURL>http://www.amazon.com/reviews/iframe?akid=<YourAmazonKey>&amp;alinkCode=xm2&amp;asin=1451648537&amp;atag=<YourAssociateTag>&amp;exp=2012-01-06T02%3A10%3A38Z&amp;summary=0&amp;truncate=256&amp;v=2&amp;sig=kjWPue1N75%2FiI1hW67XYApWxnKeT2tlT%2FJ1rw4WLlUo%3D</IFrameURL>
        <HasReviews>true</HasReviews>
    </CustomerReviews>
</Item>

请注意,您将无法使用这个iframe的URL,由于:(1)我已经删除了其实我的亚马逊密钥和用于创建签名和准标签(2)到期24小时通话后。的

如果您在使用我已经使用了相同的属性,密切关注版本 AssociateTag 字段,你会得到与一个IFRAME URL包含的结果。

If you use the same attributes that I've used, paying close attention to the Version and AssociateTag fields, you will get a result with an iframe URL included.

我然后嵌入的URL的iframe:

I then embedded the url in an iframe:

<html>
    <body>
        <iframe src="http://www.amazon.com/reviews/iframe?akid=<YourAmazonKey>&amp;alinkCode=xm2&amp;asin=1451648537&amp;atag=<YourAssociateTag>&amp;exp=2012-01-06T02%3A10%3A38Z&amp;summary=0&amp;truncate=256&amp;v=2&amp;sig=kjWPue1N75%2FiI1hW67XYApWxnKeT2tlT%2FJ1rw4WLlUo%3D"/>
    </body>
</html>

看起来像如下:

Which looked like the following:

正如我在preamble说,我不能确定,如果这是你在找什么,因为对于奖金的要求是​​:

As I said in the preamble, I'm unsure if this is what you are looking for since the requirements for the bounty was:

...才能访问亚马逊reviewrank信息

...to get access to amazons reviewrank informations

这是不完全的审查等级信息,但实际的审查和我通过审查等级信息的含义更加沿着数据本身(如100条评论@ 4星等)的线路。然而,在你的问题,你说的iframe没有工作:

This isn't exactly the review rank information but the actual reviews and I take the meaning of review rank info to be more along the lines of the data itself (such as 100 reviews @ 4 stars etc.). However, in your question you stated that the iframe did not work:

不过,与PARAMS测试他们建议得到IFRAME,但似乎现在连的iframe不工作了。

关于API gateway

However, testing with the params they suggest to get the Iframe, but it seems that now even the Iframe doesn't work anymore.

所以我认为我至少会为您提供获取和使用的iframe的适当方法。

So I thought that I would at least provide you with the proper method of getting and using the iframe.