We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
The community reviewed whether to reopen this question 2 years ago and left it closed:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
是的,技术上合适的 API 是产品广告 API,使用 ItemLookup/ItemSearch 操作或 Seller* 操作。
https://affiliate-program.amazon.com/gp/advertising /api/detail/main.html
我还建议您检查此 API 的许可协议,特别是第 4 (i) 条。
Yes, the technically appropriate API is the Product Advertising API, using the ItemLookup/ItemSearch operations or the Seller* operations.
https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
I would also advise you to check the licensing agreement for this API, notably clause 4 (i).
您可以使用 Amazon Marketplace Web 服务 (api、description)
此服务可以将所有可用优惠分组到“存储桶”中并显示每个桶的最低价格。
每个桶都有一个独特的组合:
卖家积极反馈评级(98-100%、95-97%、90-94%、80-89%、
70-79%,低于70%,刚刚推出)
有人制作了一个非常酷的 API 演示 此处
You can use the Amazon Marketplace Web Service (api, description)
This service can group all of the available offers into ‘buckets’ and shows the lowest price from each bucket bucket.
Each bucket has a unique combination of:
SellerPositiveFeedbackRating (98-100%, 95-97%, 90-94%, 80-89%,
70-79%, Less than 70%, Just launched)
Someone made a really cool demo of the API here
我们无法使用 API 获得整个亚马逊产品。他们对 API 的使用做出了某些限制,使其仅与广告用例更相关。
We cannot get the entire amazon products using API.They had made certain restrictions to the usage of API such that it would be more relevant to advertising use case only.
我编写了那个小
python
模块来实现这样的任务: https://github.com/iMilnb/awstools/blob/master/mods/awsprice.py基本上,它从亚马逊网站获取价格并将其转换为漂亮且可解析的
python dict< /代码>。
我编写了两个示例函数,展示了如何使用生成的
dict
以及CSV
转换器根据各种条件转储实例价格。I wrote that small
python
module to achieve such a task: https://github.com/iMilnb/awstools/blob/master/mods/awsprice.pyBasically, it fetches the prices from Amazon's website and convert them to a nice and parsable
python dict
.I wrote two example functions that show how to use the resulting
dict
to dump an instance price on various terms along with aCSV
converter.有一个对类似问题的回复,其中列出了包含价格的所有
.js
文件,它们几乎不是 JSON 文件(仅需要删除callback(...);
语句)。以下是 Linux 点播价格的示例: http://aws-assets-pricing-prod.s3.amazonaws.com/pricing/ec2/linux-od.js
(获取完整列表直接回复)
There is a reply to a similar question which lists all the
.js
files containing the prices, which are barely JSON files (with only acallback(...);
statement to remove).Here is an exemple for Linux On Demand prices : http://aws-assets-pricing-prod.s3.amazonaws.com/pricing/ec2/linux-od.js
(Get the full list directly on that reply)