【问题标题】:Display amzon.in product using api使用 api 显示 amzon.in 产品
【发布时间】:2014-09-24 10:19:25
【问题描述】:

我正在使用亚马逊电子商务网络服务,它与 Amazon.com 配合良好,并显示来自 api 的所有产品,但我想显示来自 Amazon.in 的产品。

对于 API,我的基本 URL 是

http://ecs.amazonaws.com/onca/xml

目前我正在使用此代码

$base_url = "http://ecs.amazonaws.com/onca/xml";
$params = array( 'AWSAccessKeyId' => AWS_ACCESS_KEY_ID,
                'AssociateTag' => AMAZON_ASSOC_TAG,
                'Version' => "",
                'Operation' => "ItemSearch",
                'Service' => "AWSECommerceService",
                'ResponseGroup' => "Accessories,ItemAttributes,Images,Variations,Reviews,Offers,OfferFull,OfferSummary,OfferListings,Medium",
                'Availability' => "Available",
                'Condition' => "New",
                'SearchIndex' => 'All',
                'ItemPage' => $page,
                'Keywords' => $searchTerm
        );

请告诉我应该为 Amazon.in 使用哪个 URL

【问题讨论】:

    标签: php amazon-web-services rest amazon


    【解决方案1】:

    为印度市场更改基本网址如下:

    $base_url = "http://ecs.amazonaws.in/onca/xml";
    

    并在您的请求中提及版本:

    "2011-08-01"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-12
      • 1970-01-01
      • 2020-08-16
      • 1970-01-01
      • 2019-07-03
      • 2018-01-22
      • 1970-01-01
      • 2017-06-14
      相关资源
      最近更新 更多