亚马逊 API - 即时视频结果 [英] Amazon API - Instant Video results

查看:20
本文介绍了亚马逊 API - 即时视频结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查询亚马逊的产品广告 API 以获取即时视频(流媒体)结果.一切正常——除了缺少一些信息:

I am querying Amazon's Product Advertising API for Instant Video (streaming) results. Everything is working fine -- except that there is some missing information:

  1. 描述不包含在结果中.例如,在亚马逊的网站上,电影Food, Inc" (http://www.amazon.com/Food-Inc/dp/B002VRZEYM) 的描述是美国公司控制的内部丑陋食品工业.".但是,当通过 API 查询时,根本不会返回任何说明.

  1. Descriptions are not included in results. For example, on Amazon's website the movie "Food, Inc" (http://www.amazon.com/Food-Inc/dp/B002VRZEYM) has the description "An unflattering look inside America's corporate controlled food industry.". When queried via the API, however, no description is returned at all.

电视节目的标题不包含在结果中.例如,如果您在亚马逊的网站 (http://www.amazon.com/gp/product/B000N2VRJ8) 上搜索 Arrested Development 第 1 季的第 2 集(称为顶级香蕉"),您将获得电视节目的全名、季号、剧集 # 和剧集名称.但是,当 API 查询时,只会返回剧集名称.

Titles of TV shows are not included in results. For example, if you search for the 2nd episode of season 1 of Arrested Development (called "Top Banana") on Amazon's website (http://www.amazon.com/gp/product/B000N2VRJ8), you will get the full name of the TV show, season #, episode #, and episode name. When queried by the API, however, only the episode name is returned.

有人知道这些问题的解决方案吗?仅供参考,我用于搜索的 nodeId 是 2858778011.谢谢!

Does anyone know of a solution to these problems? FYI, the nodeId I am using for my search is 2858778011. Thanks!

推荐答案

为了获得更多详细信息,您需要在请求中设置 ResponseGroup 参数.请参阅 ItemLookup 文档的 ResponseGroup 部分查看您可以使用的不同响应组.

In order to get more details, you'll need to set the ResponseGroup parameter in your request. See the ResponseGroup section of the ItemLookup documentation to see the different Response Groups that you can use.

例如,将 ResponseGroup 参数设置为 LargeMediumSmall 甚至 ItemAttributes 会给你描述:

For example, setting the ResponseGroup parameter to Large or Medium or Small or even ItemAttributes will give you the description:

对美国企业控制的食品行业的一个不讨好的看法.

An unflattering look inside America's corporate controlled food industry.

对于Food, Inc(B002VRZEYM)和Title:

顶级香蕉

对于Arrested Development第 1 季第 2 集(B000N2VRJ8).

for Arrested Development season 1 episode 2 (B000N2VRJ8).

这篇关于亚马逊 API - 即时视频结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆