• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

取亚马逊回购QUOT;以旧换新"价格

用户头像
it1352
帮助1

问题说明

有没有办法通过一个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).

正确答案

#1

借助商品广告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
系列文章
更多 icon
同类精品
更多 icon
继续加载