取亚马逊回购QUOT;以旧换新"价格
问题说明
有没有办法通过一个API来获取亚马逊回购(又名以旧换新)的价格教科书?我已经搜查了一段时间却找不到线索的人是如何得到这为他们的网站。
Is there a way to get the Amazon buyback (aka "trade-in") prices for textbooks through an API? I've searched around for a while but can't find a clue how people are getting this for their websites..
下面是亚马逊回购计划:amazon.com/buyback
Here is the Amazon BuyBack program: amazon.com/buyback
下面是一个例子回购网址:<一href=\"http://www.amazon.com/gp/search/s/ref=tradeinavs?url=rh=n:2205237011&i=textbooks-tradein&field-keywords=978-0321614018&Go.x=10&Go.y=17\" rel=\"nofollow\">http://www.amazon.com/gp/search/s/ref=tradeinavs?url=rh=n:2205237011&i=textbooks-tradein&field-keywords=978-0321614018&Go.x=10&Go.y=17
Here is an example buyback URL: http://www.amazon.com/gp/search/s/ref=tradeinavs?url=rh=n:2205237011&i=textbooks-tradein&field-keywords=978-0321614018&Go.x=10&Go.y=17
我知道,我可以只取页面和解析HTML,但如果有某种方式通过API或任何得到它,我敢肯定,亚马逊将preFER这只是解析页面(也将是更快的查询)。
I'm aware that I could just fetch the pages and parse the HTML, but if there is some way to get it through an API or whatever, I'm sure Amazon would prefer that to just parsing the page (also it would be faster to query).
正确答案
借助商品广告API 有它在 ItemAttributes中
部分,当你做一个 ItemLookup
搜索,就表明了此示例调用(我相信这是perl的,但只是向你展示一个样品):
The Product Advertising API has it in the ItemAttributes
section when you do an ItemLookup
search, as shown by this sample call (I believe this is perl, but just to show you a sample):
my $request = {
Service => 'AWSECommerceService',
Operation => 'ItemLookup',
Version=>'2010-11-01',
ItemId => $itemId,
ResponseGroup => 'ItemAttributes',
};
snip
'ASIN' => '0136100570',
'ItemAttributes' => {
'NumberOfItems' => '1',
'IsEligibleForTradeIn' => '1',
'TradeInValue' => {
'Amount' => '3550',
'CurrencyCode' => 'USD',
'FormattedPrice' => '$35.50'
},
'ListPrice' => {
'Amount' => '18900',
'CurrencyCode' => 'USD',
'FormattedPrice' => '$189.00'
来源: https://forums.aws.amazon.com/message。 JSPA?MESSAGEID = 212679
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcgjjcb
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
复制文件夹/文件而不修改属性?
it1352 07-15