ブランドで検索(Brand)

広告

ブランドを対象に検索を行います。書式は次の通りです。

Brand=<ブランド名>

パラメータ名として「Brand」を使います。ブランド名にはフルネーム又は一部を指定して下さい。

「Brand」パラメータが利用できる商品カテゴリーは次の通りです。

指定する値利用可能かどうか
All--
Apparel
Baby
Beauty
Blended--
Books--
Classical--
DVD--
Electronics--
ForeignBooks--
Grocery
HealthPersonalCare--
Hobbies--
Jewelry--
Kitchen
Music
MusicTracks--
Software
SportingGoods--
Toys--
VHS--
Video--
VideoGames
Watches--

利用可能なのは「Apparel」「Baby」「Beauty」「Grocery」「Kitchen」「Music」「Software」「VideoGames」です。

記述例としては次のようになります。

Brand=任天堂

実際に使用する場合は次のようになります。

http://ecs.amazonaws.jp/onca/xml?
Service=AWSECommerceService
&AWSAccessKeyId=[AccessKey]
&Version=2009-07-01
&Operation=ItemSearch
&SearchIndex=VideoGames
&Brand=任天堂

サンプル

では簡単なサンプルで試しておきます。「SearchIndex」プロパティに「VideoGames」、「Brand」プロパティに「任天堂」を指定して検索します。

http://ecs.amazonaws.jp/onca/xml?
Service=AWSECommerceService
&AWSAccessKeyId=[AccessKey]
&Version=2009-07-01
&Operation=ItemSearch
&SearchIndex=VideoGames
&Brand=任天堂

※必要に応じてURLエンコードして下さい。

詳細なカテゴリーの指定(BrowseNode)

ではさらに「Keywords」プロパティに「Wii」を追加して検索します。

http://ecs.amazonaws.jp/onca/xml?
Service=AWSECommerceService
&AWSAccessKeyId=[AccessKey]
&Version=2009-07-01
&Operation=ItemSearch
&SearchIndex=VideoGames
&Brand=任天堂
&Keywords=スポーツ

ブランドで検索(Brand)

( Written by Tatsuo Ikura )