问题标签 [amazon-product-api]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
905 浏览

ruby - Amazon Product API: How to access list of new releases

Amazon has a terrifically useful search functionality where you specify the 'node' id and 'field-date' in order to retrieve the new releases of that particular day. You can even specify what artist you want to search for!

However, so far I have been unable to use this specific function in the API through the Ruby amazon_product wrapper. When I call the method the web services api disregards the data parameter and simply returns me all albums by that particular artist. My expectation is that amazon has turned off the 'date' parameter entirely for the product api; as it is nowhere to be found in the Product Advertising API Developer guide. Yet, does anyone know how to access this functionality or know of other ways to reach the same end result with an entirely different method?

0 投票
1 回答
783 浏览

xml - 为什么我的 XSLT 样式突然停止解析产品广告 API XML 响应?

谁能告诉我为什么这个 xslt 文件没有解析我附加的示例 xml 文件?它已经工作了几年,但突然停止了。如果没有样式表,xml 文件会从亚马逊返回,但我现在无法设置它的样式。

xslt 文件是:

XML 文件的示例是:

任何帮助表示赞赏,因为我的 5 个网站因此而停止工作。

0 投票
1 回答
501 浏览

php - 为什么在使用“Amazon ECS PHP 库”时出现空白页?

我在使用 Amazon 的Product Advertising API(以前称为 ECS)Amazon ECS PHP Library时遇到问题。我的 PHP 文件中有以下代码:

但是当我查看 PHP 页面时没有任何反应。我从 AWS 获得了访问密钥和秘密,但不知道关联标签是什么意思。我在 AWS 上找不到任何提及它的内容。我使用了一系列 X 作为占位符。

帮助?我需要让这个工作。

0 投票
1 回答
212 浏览

php - 如何从亚马逊的产品广告 API 中只返回英文结果?

我想知道是否可以获得有关亚马逊产品广告 API(以前称为 ECS)的帮助- 我只需要能够返回英语的结果,但下面的代码会返回多种语言的书籍。

返回结果示例:

“Ruby on Rails:Einstieg in die effiziente Webentwicklung。Mit Ajax / Web 2.0 PHP-Vergleich 和 Ruby-EinfüEhrung”

我正在使用 PHP。

在此先感谢 - 任何帮助将不胜感激。

0 投票
1 回答
3021 浏览

search - Amazon AWS Itemsearch - 仅使用关键字在产品标题中搜索

有谁知道如何定位 Amazon AWS ItemSeach 以便它仅在产品标题中搜索?我正在使用关键字,但返回的结果只是模糊相关。

此示例在“VideoGames”的“附件”节点 (676172011) 中搜索“无线耳机 xbox”:

我希望这只会返回磁贴中带有“无线耳机 xbox”的产品。然而,只有大约 50% 是“正确的”。

查看从类似的“aStore”搜索返回的结果,所有结果的标题中都有关键字。

非常感谢任何帮助。

0 投票
5 回答
3161 浏览

api - 是否可以通过 IAM 生成用于产品广告 API 的 AWS 访问密钥?

我喜欢使用 IAM(身份和访问管理)为特定目的创建具有特定权限的用户/组。

产品广告 API 需要使用访问密钥(请求参数是AWSAccessKeyId)并且 IAM 可以生成访问密钥,但我没有看到让 IAM 用户/组访问产品广告 API 的方法。

有人知道这是否可以做到吗?或者您知道解决方法吗?

0 投票
1 回答
590 浏览

python - 如何将亚马逊 AWS 产品广告项目搜索限制为 JUST amazon.co.uk(即不是 amazon.com)

使用“瓶鼻” - ( http://pypi.python.org/pypi/bottlenose/0.3.4 )

这是我的代码:

我想查看此页面的结果:

http://www.amazon.co.uk/Truly-Madly-Deeply-Juliet-Stevenson/dp/B00005UQVU/ref=sr_1_1?ie=UTF8&qid=1331911657&sr=8-1

不是这个页面:

http://www.amazon.com/Truly-Madly-Deeply-Juliet-Stevenson/dp/B00005UQVU/ref=sr_1_1?ie=UTF8&qid=1331911657&sr=8-1

0 投票
1 回答
2434 浏览

php - PHP Amazon 产品 API => 如何遍历一系列未知级别...?

我正在尝试使用 ItemLookup 遍历 Amazon Product API 为请求的产品返回的 browsenodes 数组,但我无法弄清楚如何可靠地执行此操作,因为返回的数组始终具有不同数量的级别。

我在这里寻找了其他建议例如 SimpleXML 迭代器的答案,但这不起作用并引发异常,因为它无法被解析为 xml ......

amazon 返回的数组如下所示:

或者这个例如:

我需要以某种方式可靠地循环遍历数组第一级中包含类别和子类别信息的所有项目。

如果数组有更多级别 [1]、[2] 等,则需要跳过这些级别。

我需要的信息总是位于第一层->名称,然后是最后一层->名称,其中 iscategoryroot => 1

但由于深度总是不同的,我根本不知道该怎么做:(

在这种情况下我能做什么?我将如何循环这样的数组?

谢谢 !:)


编辑:


所以我用 curl 连接到 api,并从中构建一个 simplexml 对象:

然后浏览节点数组的完整输出看起来像这样(虽然总是不同)

而且我总是只需要第一个数组键,然后是第一个和最后一个子项

0 投票
1 回答
1379 浏览

c# - 亚马逊产品广告 API ItemSearchRequest

我正在使用亚马逊的产品广告 API 来搜索产品,效果很好。我得到了我需要的结果。但是,当我搜索“Bishoujo Catwomen”时,它不会获取标题包含 (Bishoujo && Catwomen) 的记录,而是执行 (Bishoujo || Catwomen) 并将结果交给我。

这是我的代码:

我希望我的 SearchIndex 为 All,我只需要名称同时包含 Bishoujo 和 Catwomen 的标题。我怎样才能做到这一点?

0 投票
1 回答
491 浏览

c# - Finding related images in the Amazon Product Advertising API

Is there a way of requesting Related Images like the Amazon website shows of certain products? I wanted to get the images so that I can mirror the functionality in my own retail client. The Images response group doesn't seem to help.

like this one http://www.amazon.co.uk/gp/product/B004SGLDM6/ref=s9_simh_gw_p21_d0_g21_i1?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-2&pf_rd_r=179Q3KXHNZGJQSHFBGZ3&pf_rd_t=101&pf_rd_p=467128533&pf_rd_i=468294