亚马逊产品广告 API - 仅显示“真实”广告书籍,而非 Kindle 或有声读物
我请求这样的 API:
$params["Operation"] = "ItemSearch";
$params["SearchIndex"] = "Books";
$params["Author"] = "...";
这当然显示“真实”书籍,但也显示“Kindle 版本”、有声读物和音频 CD。
有没有办法根据请求从中过滤出“真正的”书籍?
或者我是否必须手动检查 xml 结果中的每个项目? (如果 ItemAttributes/ProductGroup = Book 那么...)
谢谢!
i'm requesting the API like this:
$params["Operation"] = "ItemSearch";
$params["SearchIndex"] = "Books";
$params["Author"] = "...";
This shows "real" books of course but also "Kindle Editions", audio books and audio cds.
Is there a way to filter "real" books out of this by request?
Or do i have to check every item in the xml-result manually?
(if ItemAttributes/ProductGroup = Book then...)
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道这个问题有点老了,但这是我的答案。
我很幸运地使用了亚马逊的“Power”属性:&Power= 装订 = 精装本或装订 = 平装本。
只需记住所有内容都需要转义,因此:&Power=%20binding%3A%20Hardcover%20%or20binding%3A%20paperback%20。
I know this question is a little old, but here's my answer.
I've had good luck by using Amazon's "Power" attribute: &Power= binding = Hardcover or binding = paperback.
Just remember everything needs to be escaped so: &Power=%20binding%3A%20Hardcover%20%or20binding%3A%20paperback%20.