Zend_Service_Amazon.xml 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <!-- EN-Revision: 19423 -->
  4. <sect1 id="zend.service.amazon">
  5. <title>Zend_Service_Amazon</title>
  6. <sect2 id="zend.service.amazon.introduction">
  7. <title>導入</title>
  8. <para>
  9. <classname>Zend_Service_Amazon</classname> は Amazon
  10. ウェブサービスを使用するためのシンプルな <acronym>API</acronym> です。
  11. <classname>Zend_Service_Amazon</classname> は、ふたつの <acronym>API</acronym> を実装しています。
  12. Amazon 自身の <acronym>API</acronym> に従った伝統的な <acronym>API</acronym> と、
  13. 複雑な検索クエリを簡単に作成するためのシンプルな「クエリ <acronym>API</acronym>」です。
  14. </para>
  15. <para>
  16. <classname>Zend_Service_Amazon</classname> を使用すると、開発者が
  17. Amazon Web Services <acronym>API</acronym> を直接使用して、Amazon.com
  18. の情報を取得できるようになります。
  19. 取得できる情報には以下のようなものがあります。
  20. <itemizedlist>
  21. <listitem>
  22. <para>
  23. 商品の情報、例えば画像や説明や価格など
  24. </para>
  25. </listitem>
  26. <listitem>
  27. <para>
  28. カスタマーレビュー
  29. </para>
  30. </listitem>
  31. <listitem>
  32. <para>
  33. 似た製品やアクセサリの情報
  34. </para>
  35. </listitem>
  36. <listitem>
  37. <para>
  38. Amazon.com のおすすめ
  39. </para>
  40. </listitem>
  41. <listitem>
  42. <para>
  43. リストマニアのリスト
  44. </para>
  45. </listitem>
  46. </itemizedlist>
  47. </para>
  48. <para>
  49. <classname>Zend_Service_Amazon</classname> を使用するには、
  50. Amazon デベロッパ <acronym>API</acronym> キーとシークレットキーが必要です。
  51. このキーを取得するには、
  52. <ulink url="http://aws.amazon.com/">Amazon Web Services</ulink>
  53. のウェブサイトを参照ください。
  54. 2009年8月15日以降、Amazon Product Advertising <acronym>API</acronym>
  55. を <classname>Zend_Service_Amazon</classname> で使うにはシークレットキーが必要となります。
  56. </para>
  57. <note>
  58. <title>注意</title>
  59. <para>
  60. Amazon デベロッパ <acronym>API</acronym> キーおよびシークレットキーは Amazon のアカウントと関連付けられます。
  61. 取得した <acronym>API</acronym> キーは自分自身でのみ使用するようにしましょう。
  62. </para>
  63. </note>
  64. <example id="zend.service.amazon.introduction.example.itemsearch">
  65. <title>伝統的な API を使用した Amazon 検索</title>
  66. <para>
  67. この例では、Amazon で PHP に関する書籍を検索し、
  68. 結果の一覧を表示します。
  69. </para>
  70. <programlisting language="php"><![CDATA[
  71. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
  72. $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
  73. 'Keywords' => 'php'));
  74. foreach ($results as $result) {
  75. echo $result->Title . '<br />';
  76. }
  77. ]]></programlisting>
  78. </example>
  79. <example id="zend.service.amazon.introduction.example.query_api">
  80. <title>クエリ API を使用した Amazon 検索</title>
  81. <para>
  82. ここでも Amazon で PHP に関する書籍を検索します。
  83. しかし、ここではクエリ <acronym>API</acronym> を使用します。この <acronym>API</acronym>
  84. は、Fluent Interface パターンと似た形式です。
  85. </para>
  86. <programlisting language="php"><![CDATA[
  87. $query = new Zend_Service_Amazon_Query('AMAZON_API_KEY',
  88. 'US',
  89. 'AMAZON_SECRET_KEY');
  90. $query->category('Books')->Keywords('PHP');
  91. $results = $query->search();
  92. foreach ($results as $result) {
  93. echo $result->Title . '<br />';
  94. }
  95. ]]></programlisting>
  96. </example>
  97. </sect2>
  98. <sect2 id="zend.service.amazon.countrycodes">
  99. <title>国コード</title>
  100. <para>
  101. デフォルトでは、<classname>Zend_Service_Amazon</classname> は米国 ("<code>US</code>")
  102. の Amazon Web Service に接続します。他の国のサービスに接続するには、
  103. コンストラクタの 2 番目のパラメータとして、適切な国コード文字列を指定するだけです。
  104. </para>
  105. <example id="zend.service.amazon.countrycodes.example.country_code">
  106. <title>Amazon Web Service の国の選択</title>
  107. <programlisting language="php"><![CDATA[
  108. // 日本の Amazon に接続します
  109. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP', 'AMAZON_SECRET_KEY');
  110. ]]></programlisting>
  111. </example>
  112. <note>
  113. <title>国コード</title>
  114. <para>
  115. 使用できる国コードは <code>CA</code>、<code>DE</code>、<code>FR</code>、<code>JP</code>、
  116. <code>UK</code> および <code>US</code> です。
  117. </para>
  118. </note>
  119. </sect2>
  120. <sect2 id="zend.service.amazon.itemlookup">
  121. <title>ASIN を使用した商品の検索</title>
  122. <para>
  123. <acronym>ASIN</acronym> がわかっている場合は、<methodname>itemLookup()</methodname>
  124. メソッドを使用すると Amazon の商品を検索できます。
  125. </para>
  126. <example id="zend.service.amazon.itemlookup.example.asin">
  127. <title>ASIN を使用した Amazon の商品検索</title>
  128. <programlisting language="php"><![CDATA[
  129. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
  130. $item = $amazon->itemLookup('B0000A432X');
  131. ]]></programlisting>
  132. </example>
  133. <para>
  134. <methodname>itemLookup()</methodname> メソッドにオプションの第 2 パラメータを渡すことで、
  135. 検索オプションを指定できます。使用可能なオプションを含む詳細は、
  136. <ulink
  137. url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">関連する Amazon の文書</ulink>
  138. を参照ください。
  139. </para>
  140. <note>
  141. <title>画像の情報</title>
  142. <para>
  143. 検索結果の画像情報を取得するには、オプション <code>ResponseGroup</code>
  144. を <code>Medium</code> あるいは <code>Large</code> に設定しなければなりません。
  145. </para>
  146. </note>
  147. </sect2>
  148. <sect2 id="zend.service.amazon.itemsearch">
  149. <title>Amazon の商品検索の実行</title>
  150. <para>
  151. さまざまな条件指定による商品検索を行うには
  152. <methodname>itemSearch()</methodname> メソッドを使用します。
  153. 以下に例を示します。
  154. </para>
  155. <example id="zend.service.amazon.itemsearch.example.basic">
  156. <title>Amazon の商品検索の実行</title>
  157. <programlisting language="php"><![CDATA[
  158. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
  159. $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
  160. 'Keywords' => 'php'));
  161. foreach ($results as $result) {
  162. echo $result->Title . '<br />';
  163. }
  164. ]]></programlisting>
  165. </example>
  166. <example id="zend.service.amazon.itemsearch.example.responsegroup">
  167. <title>ResponseGroup オプションの使用法</title>
  168. <para>
  169. <code>ResponseGroup</code> オプションを使用すると、
  170. レスポンスで返される情報を制御できます。
  171. </para>
  172. <programlisting language="php"><![CDATA[
  173. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'US', 'AMAZON_SECRET_KEY');
  174. $results = $amazon->itemSearch(array(
  175. 'SearchIndex' => 'Books',
  176. 'Keywords' => 'php',
  177. 'ResponseGroup' => 'Small,ItemAttributes,Images,SalesRank,Reviews,' .
  178. 'EditorialReview,Similarities,ListmaniaLists'
  179. ));
  180. foreach ($results as $result) {
  181. echo $result->Title . '<br />';
  182. }
  183. ]]></programlisting>
  184. </example>
  185. <para>
  186. <methodname>itemSearch()</methodname> は配列のパラメータをひとつ受け取り、
  187. このパラメータで検索オプションを指定します。使用可能なオプションを含む詳細は、
  188. <ulink
  189. url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</ulink>
  190. を参照ください。
  191. </para>
  192. <tip>
  193. <para>
  194. <link linkend="zend.service.amazon.query"><classname>Zend_Service_Amazon_Query</classname></link>
  195. クラスを使用すると、これらのメソッドをより簡単に使用できるようになります。
  196. </para>
  197. </tip>
  198. </sect2>
  199. <sect2 id="zend.service.amazon.query">
  200. <title>もうひとつのクエリ API の使用法</title>
  201. <sect3 id="zend.service.amazon.query.introduction">
  202. <title>導入</title>
  203. <para>
  204. <classname>Zend_Service_Amazon_Query</classname> は、Amazon Web Service
  205. を使用するためのもうひとつの <acronym>API</acronym> を提供します。
  206. この <acronym>API</acronym> では Fluent Interface パターンを使用します。
  207. つまり、すべてのコールはメソッド呼び出しを連結した形式になります
  208. (例: <code>$obj->method()->method2($arg)</code>)。
  209. </para>
  210. <para>
  211. 商品検索の設定を行いやすく、また条件に基づく検索をしやすくするために、
  212. <classname>Zend_Service_Amazon_Query</classname> <acronym>API</acronym> ではオーバーロードを使用しています。
  213. 各オプションの設定はメソッドのコールで行い、メソッドの引数がオプションの値に対応します。
  214. </para>
  215. <example id="zend.service.amazon.query.introduction.example.basic">
  216. <title>もうひとつのクエリ API を使用した Amazon の検索</title>
  217. <para>
  218. この例では、もうひとつのクエリ <acronym>API</acronym> のインターフェイスを使用して、
  219. オプションとその値を設定します。
  220. </para>
  221. <programlisting language="php"><![CDATA[
  222. $query = new Zend_Service_Amazon_Query('MY_API_KEY');
  223. $query->Category('Books')->Keywords('PHP');
  224. $results = $query->search();
  225. foreach ($results as $result) {
  226. echo $result->Title . '<br />';
  227. }
  228. ]]></programlisting>
  229. <para>
  230. これは、オプション <code>Category</code> の値を "Books"、
  231. そして <code>Keywords</code> の値を "PHP" に設定します。
  232. </para>
  233. <para>
  234. 使用可能なオプションについての詳細な情報は、
  235. <ulink
  236. url="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</ulink>
  237. を参照ください。
  238. </para>
  239. </example>
  240. </sect3>
  241. </sect2>
  242. <sect2 id="zend.service.amazon.classes">
  243. <title>Zend_Service_Amazon クラス群</title>
  244. <para>
  245. 以下のクラスは、すべて
  246. <link linkend="zend.service.amazon.itemlookup"><methodname>Zend_Service_Amazon::itemLookup()</methodname></link>
  247. および
  248. <link linkend="zend.service.amazon.itemsearch"><methodname>Zend_Service_Amazon::itemSearch()</methodname></link>
  249. から返されるものです。
  250. <itemizedlist>
  251. <listitem><para><link linkend="zend.service.amazon.classes.item"><classname>Zend_Service_Amazon_Item</classname></link></para></listitem>
  252. <listitem><para><link linkend="zend.service.amazon.classes.image"><classname>Zend_Service_Amazon_Image</classname></link></para></listitem>
  253. <listitem><para><link linkend="zend.service.amazon.classes.resultset"><classname>Zend_Service_Amazon_ResultSet</classname></link></para></listitem>
  254. <listitem><para><link linkend="zend.service.amazon.classes.offerset"><classname>Zend_Service_Amazon_OfferSet</classname></link></para></listitem>
  255. <listitem><para><link linkend="zend.service.amazon.classes.offer"><classname>Zend_Service_Amazon_Offer</classname></link></para></listitem>
  256. <listitem><para><link linkend="zend.service.amazon.classes.similarproduct"><classname>Zend_Service_Amazon_SimilarProduct</classname></link></para></listitem>
  257. <listitem><para><link linkend="zend.service.amazon.classes.accessories"><classname>Zend_Service_Amazon_Accessories</classname></link></para></listitem>
  258. <listitem><para><link linkend="zend.service.amazon.classes.customerreview"><classname>Zend_Service_Amazon_CustomerReview</classname></link></para></listitem>
  259. <listitem><para><link linkend="zend.service.amazon.classes.editorialreview"><classname>Zend_Service_Amazon_EditorialReview</classname></link></para></listitem>
  260. <listitem><para><link linkend="zend.service.amazon.classes.listmania"><classname>Zend_Service_Amazon_ListMania</classname></link></para></listitem>
  261. </itemizedlist>
  262. </para>
  263. <sect3 id="zend.service.amazon.classes.item">
  264. <title>Zend_Service_Amazon_Item</title>
  265. <para>
  266. <classname>Zend_Service_Amazon_Item</classname> は、ウェブサービスから返される
  267. Amazon の商品を表すために使用されるクラスです。
  268. 商品のタイトル、説明、レビューなどを含むすべての属性を包含します。
  269. </para>
  270. <sect4 id="zend.service.amazon.classes.item.asxml">
  271. <title>Zend_Service_Amazon_Item::asXML()</title>
  272. <para>
  273. <methodsynopsis>
  274. <type>string</type>
  275. <methodname>asXML</methodname>
  276. <void />
  277. </methodsynopsis>
  278. </para>
  279. <para>商品情報を、元の XML で返します。</para>
  280. </sect4>
  281. <sect4 id="zend.service.amazon.classes.item.properties">
  282. <title>プロパティ</title>
  283. <para>
  284. <classname>Zend_Service_Amazon_Item</classname> が持つプロパティは、
  285. それぞれが標準の Amazon <acronym>API</acronym> に直接対応しています。
  286. </para>
  287. <table id="zend.service.amazon.classes.item.properties.table-1">
  288. <title>Zend_Service_Amazon_Item のプロパティ</title>
  289. <tgroup cols="3">
  290. <thead>
  291. <row>
  292. <entry>名前</entry>
  293. <entry>型</entry>
  294. <entry>説明</entry>
  295. </row>
  296. </thead>
  297. <tbody>
  298. <row>
  299. <entry><acronym>ASIN</acronym></entry>
  300. <entry>string</entry>
  301. <entry>Amazon の商品 ID</entry>
  302. </row>
  303. <row>
  304. <entry>DetailPageURL</entry>
  305. <entry>string</entry>
  306. <entry>商品の詳細情報ページの URL</entry>
  307. </row>
  308. <row>
  309. <entry>SalesRank</entry>
  310. <entry>int</entry>
  311. <entry>商品の売上ランキング</entry>
  312. </row>
  313. <row>
  314. <entry>SmallImage</entry>
  315. <entry>Zend_Service_Amazon_Image</entry>
  316. <entry>商品の画像 (小)</entry>
  317. </row>
  318. <row>
  319. <entry>MediumImage</entry>
  320. <entry>Zend_Service_Amazon_Image</entry>
  321. <entry>商品の画像 (中)</entry>
  322. </row>
  323. <row>
  324. <entry>LargeImage</entry>
  325. <entry>Zend_Service_Amazon_Image</entry>
  326. <entry>商品の画像 (大)</entry>
  327. </row>
  328. <row>
  329. <entry>Subjects</entry>
  330. <entry>array</entry>
  331. <entry>商品のテーマ</entry>
  332. </row>
  333. <row>
  334. <entry>Offers</entry>
  335. <entry>
  336. <code>
  337. <link
  338. linkend="zend.service.amazon.classes.offerset">Zend_Service_Amazon_OfferSet</link>
  339. </code>
  340. </entry>
  341. <entry>提供内容の概要および商品の提供情報</entry>
  342. </row>
  343. <row>
  344. <entry>CustomerReviews</entry>
  345. <entry>array</entry>
  346. <entry>
  347. <code>
  348. <link
  349. linkend="zend.service.amazon.classes.customerreview">Zend_Service_Amazon_CustomerReview</link>
  350. </code>
  351. オブジェクトの配列で表されるカスタマーレビュー
  352. </entry>
  353. </row>
  354. <row>
  355. <entry>EditorialReviews</entry>
  356. <entry>array</entry>
  357. <entry>
  358. <code>
  359. <link
  360. linkend="zend.service.amazon.classes.editorialreview">Zend_Service_Amazon_EditorialReview</link>
  361. </code>
  362. オブジェクトの配列で表される、出版社/著者からの内容紹介
  363. </entry>
  364. </row>
  365. <row>
  366. <entry>SimilarProducts</entry>
  367. <entry>array</entry>
  368. <entry>
  369. <code>
  370. <link
  371. linkend="zend.service.amazon.classes.similarproduct">Zend_Service_Amazon_SimilarProduct</link>
  372. </code>
  373. オブジェクトの配列で表される、似た商品の情報
  374. </entry>
  375. </row>
  376. <row>
  377. <entry>Accessories</entry>
  378. <entry>array</entry>
  379. <entry>
  380. <code>
  381. <link
  382. linkend="zend.service.amazon.classes.accessories">Zend_Service_Amazon_Accessories</link>
  383. </code>
  384. オブジェクトの配列で表される、関連アクセサリの情報
  385. </entry>
  386. </row>
  387. <row>
  388. <entry>Tracks</entry>
  389. <entry>array</entry>
  390. <entry>音楽 CD や <acronym>DVD</acronym> の、トラック番号と曲名の配列</entry>
  391. </row>
  392. <row>
  393. <entry>ListmaniaLists</entry>
  394. <entry>array</entry>
  395. <entry>
  396. Item related Listmania Lists as an array of
  397. <code>
  398. <link
  399. linkend="zend.service.amazon.classes.listmania">Zend_Service_Amazon_ListmainList</link>
  400. </code>
  401. オブジェクトの配列で表される、この商品に関連するリストマニアのリスト
  402. </entry>
  403. </row>
  404. <row>
  405. <entry>PromotionalTag</entry>
  406. <entry>string</entry>
  407. <entry>商品の販売促進用のタグ</entry>
  408. </row>
  409. </tbody>
  410. </tgroup>
  411. </table>
  412. <para>
  413. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  414. </para>
  415. </sect4>
  416. </sect3>
  417. <sect3 id="zend.service.amazon.classes.image">
  418. <title>Zend_Service_Amazon_Image</title>
  419. <para><classname>Zend_Service_Amazon_Image</classname> は、商品の画像を表します。</para>
  420. <sect4 id="zend.service.amazon.classes.image.properties">
  421. <title>プロパティ</title>
  422. <table id="zend.service.amazon.classes.image.properties.table-1">
  423. <title>Zend_Service_Amazon_Image のプロパティ</title>
  424. <tgroup cols="3">
  425. <thead>
  426. <row>
  427. <entry>名前</entry>
  428. <entry>型</entry>
  429. <entry>説明</entry>
  430. </row>
  431. </thead>
  432. <tbody>
  433. <row>
  434. <entry>Url</entry>
  435. <entry>Zend_Uri</entry>
  436. <entry>画像のリモート <acronym>URL</acronym></entry>
  437. </row>
  438. <row>
  439. <entry>Height</entry>
  440. <entry>int</entry>
  441. <entry>画像の高さ (ピクセル単位)</entry>
  442. </row>
  443. <row>
  444. <entry>Width</entry>
  445. <entry>int</entry>
  446. <entry>画像の幅 (ピクセル単位)</entry>
  447. </row>
  448. </tbody>
  449. </tgroup>
  450. </table>
  451. <para>
  452. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  453. </para>
  454. </sect4>
  455. </sect3>
  456. <sect3 id="zend.service.amazon.classes.resultset">
  457. <title>Zend_Service_Amazon_ResultSet</title>
  458. <para>
  459. <classname>Zend_Service_Amazon_ResultSet</classname> オブジェクトは
  460. <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
  461. から返され、結果が複数返された場合に簡単に処理できるようにします。
  462. </para>
  463. <note>
  464. <title>SeekableIterator</title>
  465. <para>
  466. 操作性を高めるため、<code>SeekableIterator</code> を実装しています。
  467. これにより、一般的な順次処理 (例えば <code>foreach</code> など)
  468. だけでなく <methodname>seek()</methodname> を使用した特定の結果への直接アクセスも可能です。
  469. </para>
  470. </note>
  471. <sect4 id="zend.service.amazon.classes.resultset.totalresults">
  472. <title>Zend_Service_Amazon_ResultSet::totalResults()</title>
  473. <methodsynopsis>
  474. <type>int</type>
  475. <methodname>totalResults</methodname>
  476. <void />
  477. </methodsynopsis>
  478. <para>検索結果の総数を返します。</para>
  479. <para>
  480. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  481. </para>
  482. </sect4>
  483. </sect3>
  484. <sect3 id="zend.service.amazon.classes.offerset">
  485. <title>Zend_Service_Amazon_OfferSet</title>
  486. <para>
  487. Each result returned by
  488. <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
  489. および
  490. <link linkend="zend.service.amazon.itemlookup">Zend_Service_Amazon::itemLookup()</link>
  491. から返される各結果には
  492. <classname>Zend_Service_Amazon_OfferSet</classname> オブジェクトが含まれており、
  493. ここから商品の販売情報が取得できます。
  494. </para>
  495. <sect4 id="zend.service.amazon.classes.offerset.parameters">
  496. <title>プロパティ</title>
  497. <table id="zend.service.amazon.classes.offerset.parameters.table-1">
  498. <title>Zend_Service_Amazon_OfferSet のプロパティ</title>
  499. <tgroup cols="3">
  500. <thead>
  501. <row>
  502. <entry>名前</entry>
  503. <entry>型</entry>
  504. <entry>説明</entry>
  505. </row>
  506. </thead>
  507. <tbody>
  508. <row>
  509. <entry>LowestNewPrice</entry>
  510. <entry>int</entry>
  511. <entry>&quot;新品&quot; の最低価格</entry>
  512. </row>
  513. <row>
  514. <entry>LowestNewPriceCurrency</entry>
  515. <entry>string</entry>
  516. <entry>
  517. <code>LowestNewPrice</code> の通貨単位
  518. </entry>
  519. </row>
  520. <row>
  521. <entry>LowestOldPrice</entry>
  522. <entry>int</entry>
  523. <entry>&quot;ユーズド商品&quot; の最低価格</entry>
  524. </row>
  525. <row>
  526. <entry>LowestOldPriceCurrency</entry>
  527. <entry>string</entry>
  528. <entry>
  529. <code>LowestOldPrice</code> の通貨単位
  530. </entry>
  531. </row>
  532. <row>
  533. <entry>TotalNew</entry>
  534. <entry>int</entry>
  535. <entry>&quot;新品&quot; の在庫数</entry>
  536. </row>
  537. <row>
  538. <entry>TotalUsed</entry>
  539. <entry>int</entry>
  540. <entry>&quot;ユーズド商品&quot; の在庫数</entry>
  541. </row>
  542. <row>
  543. <entry>TotalCollectible</entry>
  544. <entry>int</entry>
  545. <entry>&quot;コレクター商品&quot; の在庫数</entry>
  546. </row>
  547. <row>
  548. <entry>TotalRefurbished</entry>
  549. <entry>int</entry>
  550. <entry>&quot;refurbished&quot; の在庫数</entry>
  551. </row>
  552. <row>
  553. <entry>Offers</entry>
  554. <entry>array</entry>
  555. <entry>
  556. <classname>Zend_Service_Amazon_Offer</classname>
  557. オブジェクトの配列
  558. </entry>
  559. </row>
  560. </tbody>
  561. </tgroup>
  562. </table>
  563. <para>
  564. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  565. </para>
  566. </sect4>
  567. </sect3>
  568. <sect3 id="zend.service.amazon.classes.offer">
  569. <title>Zend_Service_Amazon_Offer</title>
  570. <para>
  571. 商品の個々の販売情報が
  572. <classname>Zend_Service_Amazon_Offer</classname>
  573. オブジェクトとして返されます。
  574. </para>
  575. <sect4 id="zend.service.amazon.classes.offer.properties">
  576. <title>Zend_Service_Amazon_Offer のプロパティ</title>
  577. <table id="zend.service.amazon.classes.offer.properties.table-1">
  578. <title>プロパティ</title>
  579. <tgroup cols="3">
  580. <thead>
  581. <row>
  582. <entry>名前</entry>
  583. <entry>型</entry>
  584. <entry>説明</entry>
  585. </row>
  586. </thead>
  587. <tbody>
  588. <row>
  589. <entry>MerchantId</entry>
  590. <entry>string</entry>
  591. <entry>出品者の Amazon ID</entry>
  592. </row>
  593. <row>
  594. <entry>GlancePage</entry>
  595. <entry>string</entry>
  596. <entry>出品者の概要が掲載されているページの URL</entry>
  597. </row>
  598. <row>
  599. <entry>Condition</entry>
  600. <entry>string</entry>
  601. <entry>商品のコンディション</entry>
  602. </row>
  603. <row>
  604. <entry>OfferListingId</entry>
  605. <entry>string</entry>
  606. <entry>販売情報リストの ID</entry>
  607. </row>
  608. <row>
  609. <entry>Price</entry>
  610. <entry>int</entry>
  611. <entry>商品の価格</entry>
  612. </row>
  613. <row>
  614. <entry>CurrencyCode</entry>
  615. <entry>string</entry>
  616. <entry>商品価格の通貨コード</entry>
  617. </row>
  618. <row>
  619. <entry>Availability</entry>
  620. <entry>string</entry>
  621. <entry>商品の在庫状況</entry>
  622. </row>
  623. <row>
  624. <entry>IsEligibleForSuperSaverShipping</entry>
  625. <entry>boolean</entry>
  626. <entry>Super Saver Shipping に対応しているか否か</entry>
  627. </row>
  628. </tbody>
  629. </tgroup>
  630. </table>
  631. <para>
  632. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  633. </para>
  634. </sect4>
  635. </sect3>
  636. <sect3 id="zend.service.amazon.classes.similarproduct">
  637. <title>Zend_Service_Amazon_SimilarProduct</title>
  638. <para>
  639. 商品を検索した際に、Amazon は検索結果の商品と似た商品の一覧も返します。
  640. 個々のデータは <classname>Zend_Service_Amazon_SimilarProduct</classname>
  641. オブジェクトとして返されます。
  642. </para>
  643. <para>
  644. 各オブジェクトに含まれる情報を元にして、
  645. その商品の完全な情報を取得するリクエストを行うことができます。
  646. </para>
  647. <sect4 id="zend.service.amazon.classes.similarproduct.properties">
  648. <title>プロパティ</title>
  649. <table id="zend.service.amazon.classes.similarproduct.properties.table-1">
  650. <title>Zend_Service_Amazon_SimilarProduct のプロパティ</title>
  651. <tgroup cols="3">
  652. <thead>
  653. <row>
  654. <entry>名前</entry>
  655. <entry>型</entry>
  656. <entry>説明</entry>
  657. </row>
  658. </thead>
  659. <tbody>
  660. <row>
  661. <entry><acronym>ASIN</acronym></entry>
  662. <entry>string</entry>
  663. <entry>Amazon 商品 ID (<acronym>ASIN</acronym>)</entry>
  664. </row>
  665. <row>
  666. <entry>Title</entry>
  667. <entry>string</entry>
  668. <entry>商品名</entry>
  669. </row>
  670. </tbody>
  671. </tgroup>
  672. </table>
  673. <para>
  674. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  675. </para>
  676. </sect4>
  677. </sect3>
  678. <sect3 id="zend.service.amazon.classes.accessories">
  679. <title>Zend_Service_Amazon_Accessories</title>
  680. <para>
  681. 返される結果の中の「アクセサリ」については
  682. <classname>Zend_Service_Amazon_Accessories</classname>
  683. オブジェクトで表されます。
  684. </para>
  685. <sect4 id="zend.service.amazon.classes.accessories.properties">
  686. <title>プロパティ</title>
  687. <table id="zend.service.amazon.classes.accessories.properties.table-1">
  688. <title>Zend_Service_Amazon_Accessories のプロパティ</title>
  689. <tgroup cols="3">
  690. <thead>
  691. <row>
  692. <entry>名前</entry>
  693. <entry>型</entry>
  694. <entry>説明</entry>
  695. </row>
  696. </thead>
  697. <tbody>
  698. <row>
  699. <entry><acronym>ASIN</acronym></entry>
  700. <entry>string</entry>
  701. <entry>Amazon 商品 ID (<acronym>ASIN</acronym>)</entry>
  702. </row>
  703. <row>
  704. <entry>Title</entry>
  705. <entry>string</entry>
  706. <entry>商品名</entry>
  707. </row>
  708. </tbody>
  709. </tgroup>
  710. </table>
  711. <para>
  712. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  713. </para>
  714. </sect4>
  715. </sect3>
  716. <sect3 id="zend.service.amazon.classes.customerreview">
  717. <title>Zend_Service_Amazon_CustomerReview</title>
  718. <para>
  719. カスタマーレビューのデータは
  720. <classname>Zend_Service_Amazon_CustomerReview</classname>
  721. オブジェクトで返されます。
  722. </para>
  723. <sect4 id="zend.service.amazon.classes.customerreview.properties">
  724. <title>プロパティ</title>
  725. <table id="zend.service.amazon.classes.customerreview.properties.table-1">
  726. <title>Zend_Service_Amazon_CustomerReview のプロパティ</title>
  727. <tgroup cols="3">
  728. <thead>
  729. <row>
  730. <entry>名前</entry>
  731. <entry>型</entry>
  732. <entry>説明</entry>
  733. </row>
  734. </thead>
  735. <tbody>
  736. <row>
  737. <entry>Rating</entry>
  738. <entry>string</entry>
  739. <entry>商品のおすすめ度</entry>
  740. </row>
  741. <row>
  742. <entry>HelpfulVotes</entry>
  743. <entry>string</entry>
  744. <entry>「このレビューが参考になった」の投票</entry>
  745. </row>
  746. <row>
  747. <entry>CustomerId</entry>
  748. <entry>string</entry>
  749. <entry>カスタマー ID</entry>
  750. </row>
  751. <row>
  752. <entry>TotalVotes</entry>
  753. <entry>string</entry>
  754. <entry>全投票数</entry>
  755. </row>
  756. <row>
  757. <entry>Date</entry>
  758. <entry>string</entry>
  759. <entry>レビューされた日付</entry>
  760. </row>
  761. <row>
  762. <entry>Summary</entry>
  763. <entry>string</entry>
  764. <entry>レビューの概要</entry>
  765. </row>
  766. <row>
  767. <entry>Content</entry>
  768. <entry>string</entry>
  769. <entry>レビューの内容</entry>
  770. </row>
  771. </tbody>
  772. </tgroup>
  773. </table>
  774. <para>
  775. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  776. </para>
  777. </sect4>
  778. </sect3>
  779. <sect3 id="zend.service.amazon.classes.editorialreview">
  780. <title>Zend_Service_Amazon_EditorialReview</title>
  781. <para>
  782. 出版社/著者からの内容紹介は
  783. <classname>Zend_Service_Amazon_EditorialReview</classname>
  784. オブジェクトで返されます。
  785. </para>
  786. <sect4 id="zend.service.amazon.classes.editorialreview.properties">
  787. <title>プロパティ</title>
  788. <table id="zend.service.amazon.classes.editorialreview.properties.table-1">
  789. <title>Zend_Service_Amazon_EditorialReview のプロパティ</title>
  790. <tgroup cols="3">
  791. <thead>
  792. <row>
  793. <entry>名前</entry>
  794. <entry>型</entry>
  795. <entry>説明</entry>
  796. </row>
  797. </thead>
  798. <tbody>
  799. <row>
  800. <entry>Source</entry>
  801. <entry>string</entry>
  802. <entry>レビュー元</entry>
  803. </row>
  804. <row>
  805. <entry>Content</entry>
  806. <entry>string</entry>
  807. <entry>レビューの内容</entry>
  808. </row>
  809. </tbody>
  810. </tgroup>
  811. </table>
  812. <para>
  813. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  814. </para>
  815. </sect4>
  816. </sect3>
  817. <sect3 id="zend.service.amazon.classes.listmania">
  818. <title>Zend_Service_Amazon_Listmania</title>
  819. <para>
  820. リストマニアのリストデータは
  821. <classname>Zend_Service_Amazon_Listmania</classname>
  822. オブジェクトで返されます。
  823. </para>
  824. <sect4 id="zend.service.amazon.classes.listmania.properties">
  825. <title>プロパティ</title>
  826. <table id="zend.service.amazon.classes.listmania.properties.table-1">
  827. <title>Zend_Service_Amazon_Listmania のプロパティ</title>
  828. <tgroup cols="3">
  829. <thead>
  830. <row>
  831. <entry>名前</entry>
  832. <entry>型</entry>
  833. <entry>説明</entry>
  834. </row>
  835. </thead>
  836. <tbody>
  837. <row>
  838. <entry>ListId</entry>
  839. <entry>string</entry>
  840. <entry>リスト ID</entry>
  841. </row>
  842. <row>
  843. <entry>ListName</entry>
  844. <entry>string</entry>
  845. <entry>リスト名</entry>
  846. </row>
  847. </tbody>
  848. </tgroup>
  849. </table>
  850. <para>
  851. <link linkend="zend.service.amazon.classes">クラス一覧に戻る</link>
  852. </para>
  853. </sect4>
  854. </sect3>
  855. </sect2>
  856. </sect1>
  857. <!--
  858. vim:se ts=4 sw=4 et:
  859. -->