如何搜索使用亚马逊的产品广告API其他国家 [英] How to search for other countries using Amazon Product Advertising API

查看:561
本文介绍了如何搜索使用亚马逊的产品广告API其他国家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够根据栏code,关键字或ASIN来搜索产品 - 并展示从amazon.co.uk,amazon.com,amazon.de和amazon.fr结果(英国,美国,德国和法国)。

I need to be able to search for a product based on barcode, keyword or ASIN - and show the results from amazon.co.uk, amazon.com, amazon.de and amazon.fr (UK, USA, Germany and France).

这可能吗?如果是这样,我怎么办呢?

Is that possible? If so, how do I do it?

推荐答案

目前页面底部,你会发现链接到不同的区域设置在本产品广告API的工作。

At the bottom of this page, you will find links to the various Locales where this Product Advertising API works.

不过,你需要单独购买这些不同的API中的每一个。换句话说,你需要一个不同的 AssociateTag AccessKeyId 密钥为了访问这些不同的API。

However, you need to make a separate subscription to each one of these different APIs. In other words, you need a different AssociateTag, AccessKeyId and a secret key in order to access those different APIs.

可以实现使用所有这些API的顺序一个搜索引擎。首先搜索了美国API中的产品,那么英国,那么德,...您可以封装这种复杂性在门面,让您的客户端只是使一个单一的电话进行查询。你也可能遇到一些性能问题与这个想法,所以使用高速缓存(常识)的建议。

You can implement a search engine that uses all of those APIs in sequence. Start by searching for the product in the US API, then UK, then DE, ... You can encapsulate this complexity in a facade, so that your client simply makes a single call to search. You might also encounter some performance issues with this idea, so the use of cache (and common sense) is advisable.

这篇关于如何搜索使用亚马逊的产品广告API其他国家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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