| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Reviewed: no -->
- <!-- EN-Revision: 24782 -->
- <sect1 id="zend.service.amazon">
- <title>Zend_Service_Amazon(日本語)</title>
- <sect2 id="zend.service.amazon.introduction">
- <title>導入</title>
- <para>
- <classname>Zend_Service_Amazon</classname> は Amazon
- ウェブサービスを使用するためのシンプルな <acronym>API</acronym> です。
- <classname>Zend_Service_Amazon</classname> は、ふたつの <acronym>API</acronym> を実装しています。
- Amazon 自身の <acronym>API</acronym> に従った伝統的な <acronym>API</acronym> と、
- 複雑な検索クエリを簡単に作成するためのシンプルな「クエリ <acronym>API</acronym>」です。
- </para>
- <para>
- <classname>Zend_Service_Amazon</classname> を使用すると、開発者が
- Amazon Web Services <acronym>API</acronym> を直接使用して、Amazon.com
- の情報を取得できるようになります。
- 取得できる情報には以下のようなものがあります。
- <itemizedlist>
- <listitem>
- <para>
- 商品の情報、例えば画像や説明や価格など
- </para>
- </listitem>
- <listitem>
- <para>
- カスタマーレビュー
- </para>
- </listitem>
- <listitem>
- <para>
- 似た製品やアクセサリの情報
- </para>
- </listitem>
- <listitem>
- <para>
- Amazon.com のおすすめ
- </para>
- </listitem>
- <listitem>
- <para>
- リストマニアのリスト
- </para>
- </listitem>
- </itemizedlist>
- </para>
- <para>
- <classname>Zend_Service_Amazon</classname> を使用するには、
- Amazon デベロッパ <acronym>API</acronym> キーとシークレットキーが必要です。
- このキーを取得するには、
- <ulink url="http://aws.amazon.com/">Amazon Web Services</ulink>
- のウェブサイトを参照ください。
- 2009年8月15日以降、Amazon Product Advertising <acronym>API</acronym>
- を <classname>Zend_Service_Amazon</classname> で使うにはシークレットキーが必要となります。
- </para>
- <note>
- <title>注意</title>
- <para>
- Amazon デベロッパ <acronym>API</acronym> キーおよびシークレットキーは Amazon のアカウントと関連付けられます。
- 取得した <acronym>API</acronym> キーは自分自身でのみ使用するようにしましょう。
- </para>
- </note>
- <example id="zend.service.amazon.introduction.example.itemsearch">
- <title>伝統的な API を使用した Amazon 検索</title>
- <para>
- この例では、Amazon で PHP に関する書籍を検索し、
- 結果の一覧を表示します。
- </para>
- <programlisting language="php"><![CDATA[
- $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
- $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
- 'Keywords' => 'php'));
- foreach ($results as $result) {
- echo $result->Title . '<br />';
- }
- ]]></programlisting>
- </example>
- <example id="zend.service.amazon.introduction.example.query_api">
- <title>クエリ API を使用した Amazon 検索</title>
- <para>
- ここでも Amazon で PHP に関する書籍を検索します。
- しかし、ここではクエリ <acronym>API</acronym> を使用します。この <acronym>API</acronym>
- は、Fluent Interface パターンと似た形式です。
- </para>
- <programlisting language="php"><![CDATA[
- $query = new Zend_Service_Amazon_Query('AMAZON_API_KEY',
- 'US',
- 'AMAZON_SECRET_KEY');
- $query->category('Books')->Keywords('PHP');
- $results = $query->search();
- foreach ($results as $result) {
- echo $result->Title . '<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.amazon.countrycodes">
- <title>国コード</title>
- <para>
- デフォルトでは、<classname>Zend_Service_Amazon</classname> は米国 ("<code>US</code>")
- の Amazon Web Service に接続します。他の国のサービスに接続するには、
- コンストラクタの 2 番目のパラメータとして、適切な国コード文字列を指定するだけです。
- </para>
- <example id="zend.service.amazon.countrycodes.example.country_code">
- <title>Amazon Web Service の国の選択</title>
- <programlisting language="php"><![CDATA[
- // 日本の Amazon に接続します
- $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP', 'AMAZON_SECRET_KEY');
- ]]></programlisting>
- </example>
- <note>
- <title>国コード</title>
- <para>
- 使用できる国コードは <code>CA</code>、<code>DE</code>、<code>FR</code>、<code>JP</code>、
- <code>UK</code> および <code>US</code> です。
- </para>
- </note>
- </sect2>
- <sect2 id="zend.service.amazon.itemlookup">
- <title>ASIN を使用した商品の検索</title>
- <para>
- <acronym>ASIN</acronym> がわかっている場合は、<methodname>itemLookup()</methodname>
- メソッドを使用すると Amazon の商品を検索できます。
- </para>
- <example id="zend.service.amazon.itemlookup.example.asin">
- <title>ASIN を使用した Amazon の商品検索</title>
- <programlisting language="php"><![CDATA[
- $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
- $item = $amazon->itemLookup('B0000A432X');
- ]]></programlisting>
- </example>
- <para>
- <methodname>itemLookup()</methodname> メソッドにオプションの第 2 パラメータを渡すことで、
- 検索オプションを指定できます。使用可能なオプションを含む詳細は、
- <ulink
- url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemLookupOperation">関連する Amazon の文書</ulink>
- を参照ください。
- </para>
- <note>
- <title>画像の情報</title>
- <para>
- 検索結果の画像情報を取得するには、オプション <code>ResponseGroup</code>
- を <code>Medium</code> あるいは <code>Large</code> に設定しなければなりません。
- </para>
- </note>
- </sect2>
- <sect2 id="zend.service.amazon.itemsearch">
- <title>Amazon の商品検索の実行</title>
- <para>
- さまざまな条件指定による商品検索を行うには
- <methodname>itemSearch()</methodname> メソッドを使用します。
- 以下に例を示します。
- </para>
- <example id="zend.service.amazon.itemsearch.example.basic">
- <title>Amazon の商品検索の実行</title>
- <programlisting language="php"><![CDATA[
- $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
- $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
- 'Keywords' => 'php'));
- foreach ($results as $result) {
- echo $result->Title . '<br />';
- }
- ]]></programlisting>
- </example>
- <example id="zend.service.amazon.itemsearch.example.responsegroup">
- <title>ResponseGroup オプションの使用法</title>
- <para>
- <code>ResponseGroup</code> オプションを使用すると、
- レスポンスで返される情報を制御できます。
- </para>
- <programlisting language="php"><![CDATA[
- $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
- $results = $amazon->itemSearch(array(
- 'SearchIndex' => 'Books',
- 'Keywords' => 'php',
- 'ResponseGroup' => 'Small,ItemAttributes,Images,SalesRank,Reviews,' .
- 'EditorialReview,Similarities,ListmaniaLists'
- ));
- foreach ($results as $result) {
- echo $result->Title . '<br />';
- }
- ]]></programlisting>
- </example>
- <para>
- <methodname>itemSearch()</methodname> は配列のパラメータをひとつ受け取り、
- このパラメータで検索オプションを指定します。使用可能なオプションを含む詳細は、
- <ulink
- url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemSearchOperation">関連する Amazon の文書</ulink>
- を参照ください。
- </para>
- <tip>
- <para>
- <link linkend="zend.service.amazon.query"><classname>Zend_Service_Amazon_Query</classname></link>
- クラスを使用すると、これらのメソッドをより簡単に使用できるようになります。
- </para>
- </tip>
- </sect2>
- <sect2 id="zend.service.amazon.query">
- <title>もうひとつのクエリ API の使用法</title>
- <sect3 id="zend.service.amazon.query.introduction">
- <title>導入</title>
- <para>
- <classname>Zend_Service_Amazon_Query</classname> は、Amazon Web Service
- を使用するためのもうひとつの <acronym>API</acronym> を提供します。
- この <acronym>API</acronym> では Fluent Interface パターンを使用します。
- つまり、すべてのコールはメソッド呼び出しを連結した形式になります
- (例: <code>$obj->method()->method2($arg)</code>)。
- </para>
- <para>
- 商品検索の設定を行いやすく、また条件に基づく検索をしやすくするために、
- <classname>Zend_Service_Amazon_Query</classname> <acronym>API</acronym> ではオーバーロードを使用しています。
- 各オプションの設定はメソッドのコールで行い、メソッドの引数がオプションの値に対応します。
- </para>
- <example id="zend.service.amazon.query.introduction.example.basic">
- <title>もうひとつのクエリ API を使用した Amazon の検索</title>
- <para>
- この例では、もうひとつのクエリ <acronym>API</acronym> のインターフェイスを使用して、
- オプションとその値を設定します。
- </para>
- <programlisting language="php"><![CDATA[
- $query = new Zend_Service_Amazon_Query('MY_API_KEY');
- $query->Category('Books')->Keywords('PHP');
- $results = $query->search();
- foreach ($results as $result) {
- echo $result->Title . '<br />';
- }
- ]]></programlisting>
- <para>
- これは、オプション <code>Category</code> の値を "Books"、
- そして <code>Keywords</code> の値を "PHP" に設定します。
- </para>
- <para>
- 使用可能なオプションについての詳細な情報は、
- <ulink
- url="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemSearchOperation">関連する Amazon の文書</ulink>
- を参照ください。
- </para>
- </example>
- </sect3>
- </sect2>
- <sect2 id="zend.service.amazon.classes">
- <title>Zend_Service_Amazon クラス群</title>
- <para>
- 以下のクラスは、すべて
- <link linkend="zend.service.amazon.itemlookup"><methodname>Zend_Service_Amazon::itemLookup()</methodname></link>
- および
- <link linkend="zend.service.amazon.itemsearch"><methodname>Zend_Service_Amazon::itemSearch()</methodname></link>
- から返されるものです。
- <itemizedlist>
- <listitem><para><link linkend="zend.service.amazon.classes.item"><classname>Zend_Service_Amazon_Item</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.image"><classname>Zend_Service_Amazon_Image</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.resultset"><classname>Zend_Service_Amazon_ResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.offerset"><classname>Zend_Service_Amazon_OfferSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.offer"><classname>Zend_Service_Amazon_Offer</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.similarproduct"><classname>Zend_Service_Amazon_SimilarProduct</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.accessories"><classname>Zend_Service_Amazon_Accessories</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.customerreview"><classname>Zend_Service_Amazon_CustomerReview</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.editorialreview"><classname>Zend_Service_Amazon_EditorialReview</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.amazon.classes.listmania"><classname>Zend_Service_Amazon_ListMania</classname></link></para></listitem>
- </itemizedlist>
- </para>
- <sect3 id="zend.service.amazon.classes.item">
- <title>Zend_Service_Amazon_Item</title>
- <para>
- <classname>Zend_Service_Amazon_Item</classname> は、ウェブサービスから返される
- Amazon の商品を表すために使用されるクラスです。
- 商品のタイトル、説明、レビューなどを含むすべての属性を包含します。
- </para>
- <sect4 id="zend.service.amazon.classes.item.asxml">
- <title>Zend_Service_Amazon_Item::asXML()</title>
- <para>
- <methodsynopsis>
- <type>string</type>
- <methodname>asXML</methodname>
- <void />
- </methodsynopsis>
- </para>
- <para>商品情報を、元の XML で返します。</para>
- </sect4>
- <sect4 id="zend.service.amazon.classes.item.properties">
- <title>プロパティ</title>
- <para>
- <classname>Zend_Service_Amazon_Item</classname> が持つプロパティは、
- それぞれが標準の Amazon <acronym>API</acronym> に直接対応しています。
- </para>
- <table id="zend.service.amazon.classes.item.properties.table-1">
- <title>Zend_Service_Amazon_Item のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><acronym>ASIN</acronym></entry>
- <entry>string</entry>
- <entry>Amazon の商品 ID</entry>
- </row>
- <row>
- <entry>DetailPageURL</entry>
- <entry>string</entry>
- <entry>商品の詳細情報ページの URL</entry>
- </row>
- <row>
- <entry>SalesRank</entry>
- <entry>int</entry>
- <entry>商品の売上ランキング</entry>
- </row>
- <row>
- <entry>SmallImage</entry>
- <entry>Zend_Service_Amazon_Image</entry>
- <entry>商品の画像 (小)</entry>
- </row>
- <row>
- <entry>MediumImage</entry>
- <entry>Zend_Service_Amazon_Image</entry>
- <entry>商品の画像 (中)</entry>
- </row>
- <row>
- <entry>LargeImage</entry>
- <entry>Zend_Service_Amazon_Image</entry>
- <entry>商品の画像 (大)</entry>
- </row>
- <row>
- <entry>Subjects</entry>
- <entry>array</entry>
- <entry>商品のテーマ</entry>
- </row>
- <row>
- <entry>Offers</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.offerset">Zend_Service_Amazon_OfferSet</link>
- </code>
- </entry>
- <entry>提供内容の概要および商品の提供情報</entry>
- </row>
- <row>
- <entry>CustomerReviews</entry>
- <entry>array</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.customerreview">Zend_Service_Amazon_CustomerReview</link>
- </code>
- オブジェクトの配列で表されるカスタマーレビュー
- </entry>
- </row>
- <row>
- <entry>EditorialReviews</entry>
- <entry>array</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.editorialreview">Zend_Service_Amazon_EditorialReview</link>
- </code>
- オブジェクトの配列で表される、出版社/著者からの内容紹介
- </entry>
- </row>
- <row>
- <entry>SimilarProducts</entry>
- <entry>array</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.similarproduct">Zend_Service_Amazon_SimilarProduct</link>
- </code>
- オブジェクトの配列で表される、似た商品の情報
- </entry>
- </row>
- <row>
- <entry>Accessories</entry>
- <entry>array</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.accessories">Zend_Service_Amazon_Accessories</link>
- </code>
- オブジェクトの配列で表される、関連アクセサリの情報
- </entry>
- </row>
- <row>
- <entry>Tracks</entry>
- <entry>array</entry>
- <entry>音楽 CD や <acronym>DVD</acronym> の、トラック番号と曲名の配列</entry>
- </row>
- <row>
- <entry>ListmaniaLists</entry>
- <entry>array</entry>
- <entry>
- <code>
- <link
- linkend="zend.service.amazon.classes.listmania">Zend_Service_Amazon_ListmainList</link>
- </code>
- オブジェクトの配列で表される、この商品に関連するリストマニアのリスト
- </entry>
- </row>
- <row>
- <entry>PromotionalTag</entry>
- <entry>string</entry>
- <entry>商品の販売促進用のタグ</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.image">
- <title>Zend_Service_Amazon_Image</title>
- <para><classname>Zend_Service_Amazon_Image</classname> は、商品の画像を表します。</para>
- <sect4 id="zend.service.amazon.classes.image.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.image.properties.table-1">
- <title>Zend_Service_Amazon_Image のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Url</entry>
- <entry>Zend_Uri</entry>
- <entry>画像のリモート <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>画像の高さ (ピクセル単位)</entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>画像の幅 (ピクセル単位)</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.resultset">
- <title>Zend_Service_Amazon_ResultSet</title>
- <para>
- <classname>Zend_Service_Amazon_ResultSet</classname> オブジェクトは
- <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
- から返され、結果が複数返された場合に簡単に処理できるようにします。
- </para>
- <note>
- <title>SeekableIterator</title>
- <para>
- 操作性を高めるため、<code>SeekableIterator</code> を実装しています。
- これにより、一般的な順次処理 (例えば <code>foreach</code> など)
- だけでなく <methodname>seek()</methodname> を使用した特定の結果への直接アクセスも可能です。
- </para>
- </note>
- <sect4 id="zend.service.amazon.classes.resultset.totalresults">
- <title>Zend_Service_Amazon_ResultSet::totalResults()</title>
- <methodsynopsis>
- <type>int</type>
- <methodname>totalResults</methodname>
- <void />
- </methodsynopsis>
- <para>検索結果の総数を返します。</para>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.offerset">
- <title>Zend_Service_Amazon_OfferSet</title>
- <para>
- Each result returned by
- <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
- および
- <link linkend="zend.service.amazon.itemlookup">Zend_Service_Amazon::itemLookup()</link>
- から返される各結果には
- <classname>Zend_Service_Amazon_OfferSet</classname> オブジェクトが含まれており、
- ここから商品の販売情報が取得できます。
- </para>
- <sect4 id="zend.service.amazon.classes.offerset.parameters">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.offerset.parameters.table-1">
- <title>Zend_Service_Amazon_OfferSet のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>LowestNewPrice</entry>
- <entry>int</entry>
- <entry>"新品" の最低価格</entry>
- </row>
- <row>
- <entry>LowestNewPriceCurrency</entry>
- <entry>string</entry>
- <entry>
- <code>LowestNewPrice</code> の通貨単位
- </entry>
- </row>
- <row>
- <entry>LowestOldPrice</entry>
- <entry>int</entry>
- <entry>"ユーズド商品" の最低価格</entry>
- </row>
- <row>
- <entry>LowestOldPriceCurrency</entry>
- <entry>string</entry>
- <entry>
- <code>LowestOldPrice</code> の通貨単位
- </entry>
- </row>
- <row>
- <entry>TotalNew</entry>
- <entry>int</entry>
- <entry>"新品" の在庫数</entry>
- </row>
- <row>
- <entry>TotalUsed</entry>
- <entry>int</entry>
- <entry>"ユーズド商品" の在庫数</entry>
- </row>
- <row>
- <entry>TotalCollectible</entry>
- <entry>int</entry>
- <entry>"コレクター商品" の在庫数</entry>
- </row>
- <row>
- <entry>TotalRefurbished</entry>
- <entry>int</entry>
- <entry>"refurbished" の在庫数</entry>
- </row>
- <row>
- <entry>Offers</entry>
- <entry>array</entry>
- <entry>
- <classname>Zend_Service_Amazon_Offer</classname>
- オブジェクトの配列
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.offer">
- <title>Zend_Service_Amazon_Offer</title>
- <para>
- 商品の個々の販売情報が
- <classname>Zend_Service_Amazon_Offer</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.amazon.classes.offer.properties">
- <title>Zend_Service_Amazon_Offer のプロパティ</title>
- <table id="zend.service.amazon.classes.offer.properties.table-1">
- <title>プロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>MerchantId</entry>
- <entry>string</entry>
- <entry>出品者の Amazon ID</entry>
- </row>
- <row>
- <entry>MerchantName</entry>
- <entry>string</entry>
- <entry>出品者の Amazon 名。
- <!-- TODO : to be translated -->
- Requires setting the <code>ResponseGroup</code> option to <code>OfferFull</code> to retrieve.</entry>
- </row>
- <row>
- <entry>GlancePage</entry>
- <entry>string</entry>
- <entry>出品者の概要が掲載されているページの URL</entry>
- </row>
- <row>
- <entry>Condition</entry>
- <entry>string</entry>
- <entry>商品のコンディション</entry>
- </row>
- <row>
- <entry>OfferListingId</entry>
- <entry>string</entry>
- <entry>販売情報リストの ID</entry>
- </row>
- <row>
- <entry>Price</entry>
- <entry>int</entry>
- <entry>商品の価格</entry>
- </row>
- <row>
- <entry>CurrencyCode</entry>
- <entry>string</entry>
- <entry>商品価格の通貨コード</entry>
- </row>
- <row>
- <entry>Availability</entry>
- <entry>string</entry>
- <entry>商品の在庫状況</entry>
- </row>
- <row>
- <entry>IsEligibleForSuperSaverShipping</entry>
- <entry>boolean</entry>
- <entry>Super Saver Shipping に対応しているか否か</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.similarproduct">
- <title>Zend_Service_Amazon_SimilarProduct</title>
- <para>
- 商品を検索した際に、Amazon は検索結果の商品と似た商品の一覧も返します。
- 個々のデータは <classname>Zend_Service_Amazon_SimilarProduct</classname>
- オブジェクトとして返されます。
- </para>
- <para>
- 各オブジェクトに含まれる情報を元にして、
- その商品の完全な情報を取得するリクエストを行うことができます。
- </para>
- <sect4 id="zend.service.amazon.classes.similarproduct.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.similarproduct.properties.table-1">
- <title>Zend_Service_Amazon_SimilarProduct のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><acronym>ASIN</acronym></entry>
- <entry>string</entry>
- <entry>Amazon 商品 ID (<acronym>ASIN</acronym>)</entry>
- </row>
- <row>
- <entry>Title</entry>
- <entry>string</entry>
- <entry>商品名</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.accessories">
- <title>Zend_Service_Amazon_Accessories</title>
- <para>
- 返される結果の中の「アクセサリ」については
- <classname>Zend_Service_Amazon_Accessories</classname>
- オブジェクトで表されます。
- </para>
- <sect4 id="zend.service.amazon.classes.accessories.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.accessories.properties.table-1">
- <title>Zend_Service_Amazon_Accessories のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><acronym>ASIN</acronym></entry>
- <entry>string</entry>
- <entry>Amazon 商品 ID (<acronym>ASIN</acronym>)</entry>
- </row>
- <row>
- <entry>Title</entry>
- <entry>string</entry>
- <entry>商品名</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.customerreview">
- <title>Zend_Service_Amazon_CustomerReview</title>
- <para>
- カスタマーレビューのデータは
- <classname>Zend_Service_Amazon_CustomerReview</classname>
- オブジェクトで返されます。
- </para>
- <sect4 id="zend.service.amazon.classes.customerreview.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.customerreview.properties.table-1">
- <title>Zend_Service_Amazon_CustomerReview のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Rating</entry>
- <entry>string</entry>
- <entry>商品のおすすめ度</entry>
- </row>
- <row>
- <entry>HelpfulVotes</entry>
- <entry>string</entry>
- <entry>「このレビューが参考になった」の投票</entry>
- </row>
- <row>
- <entry>CustomerId</entry>
- <entry>string</entry>
- <entry>カスタマー ID</entry>
- </row>
- <row>
- <entry>TotalVotes</entry>
- <entry>string</entry>
- <entry>全投票数</entry>
- </row>
- <row>
- <entry>Date</entry>
- <entry>string</entry>
- <entry>レビューされた日付</entry>
- </row>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>レビューの概要</entry>
- </row>
- <row>
- <entry>Content</entry>
- <entry>string</entry>
- <entry>レビューの内容</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.editorialreview">
- <title>Zend_Service_Amazon_EditorialReview</title>
- <para>
- 出版社/著者からの内容紹介は
- <classname>Zend_Service_Amazon_EditorialReview</classname>
- オブジェクトで返されます。
- </para>
- <sect4 id="zend.service.amazon.classes.editorialreview.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.editorialreview.properties.table-1">
- <title>Zend_Service_Amazon_EditorialReview のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Source</entry>
- <entry>string</entry>
- <entry>レビュー元</entry>
- </row>
- <row>
- <entry>Content</entry>
- <entry>string</entry>
- <entry>レビューの内容</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.amazon.classes.listmania">
- <title>Zend_Service_Amazon_Listmania</title>
- <para>
- リストマニアのリストデータは
- <classname>Zend_Service_Amazon_Listmania</classname>
- オブジェクトで返されます。
- </para>
- <sect4 id="zend.service.amazon.classes.listmania.properties">
- <title>プロパティ</title>
- <table id="zend.service.amazon.classes.listmania.properties.table-1">
- <title>Zend_Service_Amazon_Listmania のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>ListId</entry>
- <entry>string</entry>
- <entry>リスト ID</entry>
- </row>
- <row>
- <entry>ListName</entry>
- <entry>string</entry>
- <entry>リスト名</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- </sect2>
- </sect1>
- <!--
- vim:se ts=4 sw=4 et:
- -->
|