亚马逊 API

编程入门 行业动态 更新时间:2024-10-28 02:21:29
本文介绍了亚马逊 API - 即时视频结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在查询亚马逊的产品广告 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:

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

Descriptions are not included in results. For example, on Amazon's website the movie "Food, Inc" (http://www.amazon/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/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/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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 12:38:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/938512.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:亚马逊   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!