Zend_Service_Amazon.xml 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. <sect1 id="zend.service.amazon">
  2. <title>Zend_Service_Amazon</title>
  3. <sect2 id="zend.service.amazon.introduction">
  4. <title>Wprowadzenie</title>
  5. <para>
  6. <code>Zend_Service_Amazon</code> jest prostym API do użycia z web serwisami
  7. Amazon. <code>Zend_Service_Amazon</code> ma dwa API: bardziej tradycyjne,
  8. które jest oparte na własnym API serwisu Amazon, oraz prostsze API zapytań do
  9. łatwego tworzenia nawet skomplikowanych zapytań wyszukiwania.
  10. </para>
  11. <para>
  12. <code>Zend_Service_Amazon</code> pozwala programistom odbierać
  13. informacje dostępne na stronach Amazon.com bezpośrednio za pomocą
  14. API web serwisów Amazon. Przykłady zawierają:
  15. <itemizedlist>
  16. <listitem>
  17. <para>
  18. Informacje o przedmiotach, takie jak obrazki, opisy, cenniki i inne
  19. </para>
  20. </listitem>
  21. <listitem>
  22. <para>
  23. Recenzje klientów i redaktorów
  24. </para>
  25. </listitem>
  26. <listitem>
  27. <para>
  28. Podobne produkty i akcesoria
  29. </para>
  30. </listitem>
  31. <listitem>
  32. <para>
  33. Oferty Amazon.com
  34. </para>
  35. </listitem>
  36. <listitem>
  37. <para>
  38. Listy ListMania
  39. </para>
  40. </listitem>
  41. </itemizedlist>
  42. </para>
  43. <para>
  44. Aby użyć <code>Zend_Service_Amazon</code>, musisz posiadać klucz API programisty
  45. Amazon. Aby otrzymać klucz i zdobyć więcej informacji odwiedź stronę
  46. <ulink url="http://www.amazon.com/gp/aws/landing.html">Amazon Web Services</ulink>.
  47. </para>
  48. <note>
  49. <title>Uwaga</title>
  50. <para>
  51. Twój klucz do API serwisu Amazon jest połączony z twoją tożsamością
  52. w Amazon, więc staraj się przechowywać twój klucz API bezpiecznie.
  53. </para>
  54. </note>
  55. <example id="zend.service.amazon.introduction.example.itemsearch">
  56. <title>Przeszukiwanie Amazon używając tradycyjnego API</title>
  57. <para>
  58. W tym przykładzie, szukamy książek o PHP w Amazon i przechodzimy
  59. przez nie w pętli, wyświetlając je.
  60. </para>
  61. <programlisting><![CDATA[
  62. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
  63. $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
  64. 'Keywords' => 'php'));
  65. foreach ($results as $result) {
  66. echo $result->Title .'<br />';
  67. }
  68. ]]>
  69. </programlisting>
  70. </example>
  71. <example id="zend.service.amazon.introduction.example.query_api">
  72. <title>Przeszukiwanie Amazon używając API zapytań</title>
  73. <para>
  74. Tutaj także szukamy książek o PHP w Amazon, ale zamiast
  75. tradycyjnego API używamy API zapytań, które jest stworzone
  76. w oparciu o projektowy wzorzec płynnych interfejsów.
  77. </para>
  78. <programlisting><![CDATA[
  79. $query = new Zend_Service_Amazon_Query('AMAZON_API_KEY');
  80. $query->category('Books')->Keywords('PHP');
  81. $results = $query->search();
  82. foreach ($results as $result) {
  83. echo $result->Title . '<br />';
  84. }
  85. ]]>
  86. </programlisting>
  87. </example>
  88. </sect2>
  89. <sect2 id="zend.service.amazon.countrycodes">
  90. <title>Kody państw</title>
  91. <para>
  92. Domyślnie, <code>Zend_Service_Amazon</code> łączy się z web serwisem
  93. Amazon w Stanach Zjednoczonych ("<code>US</code>"). Aby połączyć się
  94. z innym krajem, w prosty sposób podaj kod odpowiedniego państwa jako
  95. drugi parametr konstruktora:
  96. </para>
  97. <example id="zend.service.amazon.countrycodes.example.country_code">
  98. <title>Wybierania państwa web serwisu Amazon</title>
  99. <programlisting><![CDATA[
  100. // Łączenie się z Amazon w Japonii
  101. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP');
  102. ]]>
  103. </programlisting>
  104. </example>
  105. <note>
  106. <title>Kody państw</title>
  107. <para>
  108. Poprawne kody państw: <code>CA</code>, <code>DE</code>, <code>FR</code>, <code>JP</code>,
  109. <code>UK</code>, oraz <code>US</code>.
  110. </para>
  111. </note>
  112. </sect2>
  113. <sect2 id="zend.service.amazon.itemlookup">
  114. <title>Szukanie specyficznego przedmiotu w Amazon na podstawie ASIN</title>
  115. <para>
  116. Metoda <code>itemLookup()</code> zapewnia możliwość pobrania informacji
  117. o konkretnym przedmiocie, którego ASIN jest znany.
  118. </para>
  119. <example id="zend.service.amazon.itemlookup.example.asin">
  120. <title>Szukanie specyficznego przedmiotu w Amazon na podstawie ASIN</title>
  121. <programlisting><![CDATA[
  122. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
  123. $item = $amazon->itemLookup('B0000A432X');
  124. ]]>
  125. </programlisting>
  126. </example>
  127. <para>
  128. Metoda <code>itemLookup()</code> także akceptuje opcjonalny drugi parametr
  129. do obsługi opcji wyszukiwania. Aby poznać pełne informacje, włączając
  130. w to listę dostępnych opcji odwiedź
  131. <ulink
  132. url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">dokumentację Amazon</ulink>.
  133. </para>
  134. <note>
  135. <title>Informacje o zdjęciach</title>
  136. <para>
  137. Aby odebrać informacje o zdjęciach dla twoich wyników wyszukiwania, musisz ustawić
  138. opcję <code>ResponseGroup</code> na <code>Medium</code> lub <code>Large</code>.
  139. </para>
  140. </note>
  141. </sect2>
  142. <sect2 id="zend.service.amazon.itemsearch">
  143. <title>Wykonywanie wyszukiwań przedmiotów Amazon</title>
  144. <para>
  145. Wyszukiwanie przedmiotów oparte na różnych dostępnych kryteriach
  146. jest przeprowadzane za pomocą metody <code>itemSearch()</code>, tak
  147. jak w poniższym przykładzie:
  148. </para>
  149. <example id="zend.service.amazon.itemsearch.example.basic">
  150. <title>Wykonywanie wyszukiwań przedmiotów Amazon</title>
  151. <programlisting><![CDATA[
  152. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
  153. $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
  154. 'Keywords' => 'php'));
  155. foreach($results as $result) {
  156. echo $result->Title .'<br />';
  157. }
  158. ]]>
  159. </programlisting>
  160. </example>
  161. <example id="zend.service.amazon.itemsearch.example.responsegroup">
  162. <title>Użycie opcji <code>ResponseGroup</code></title>
  163. <para>
  164. Opcja <code>ResponseGroup</code> używana jest do konfigurowania
  165. informacji jakie mają być zwracane w odpowiedzi.
  166. </para>
  167. <programlisting role="php"><![CDATA[
  168. $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
  169. $results = $amazon->itemSearch(array(
  170. 'SearchIndex' => 'Books',
  171. 'Keywords' => 'php',
  172. 'ResponseGroup' => 'Small,ItemAttributes,Images,SalesRank,Reviews,' .
  173. 'EditorialReview,Similarities,ListmaniaLists'
  174. ));
  175. foreach ($results as $result) {
  176. echo $result->Title . '<br />';
  177. }
  178. ]]>
  179. </programlisting>
  180. </example>
  181. <para>
  182. Metoda <code>itemSearch()</code> akceptuje jeden parametr w postaci
  183. tablicy do obsługi opcji wyszukiwania. Aby poznać wszystkie
  184. szczegóły włączając w to listę dostępnych opcji, proszę zobacz
  185. <ulink
  186. url="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</ulink>
  187. </para>
  188. <tip>
  189. <para>
  190. Klasa <link linkend="zend.service.amazon.query"><code>Zend_Service_Amazon_Query</code></link>
  191. jest nakładką na tę metodę ułatwiającą tworzenie zapytań wyszukiwania.
  192. </para>
  193. </tip>
  194. </sect2>
  195. <sect2 id="zend.service.amazon.query">
  196. <title>Użycie alternatywnego API zapytań</title>
  197. <sect3 id="zend.service.amazon.query.introduction">
  198. <title>Wprowadzenie</title>
  199. <para>
  200. <code>Zend_Service_Amazon_Query</code> zapewnia alternatywne API
  201. do użycia z web serwisami Amazon. Alternatywne API używa wzorca
  202. projektowego płynnych interfejsów. Oznacza to, że wszystkie
  203. wywołania mogą być przeprowadzone przez łańcuchowe wywołania
  204. metod. (np. <code>$obj->method()->method2($arg)</code>)
  205. </para>
  206. <para>
  207. API <code>Zend_Service_Amazon_Query</code> używa przeładowania
  208. w celu łatwego ustawiania wyszukiwania przedmiotów i pozwala na
  209. wyszukiwanie na podstawie określonych kryteriów. Każda z opcji
  210. jest udostępniana jako wywołanie metody, a każdy argument metody
  211. odpowiada wartości opcji o tej nazwie:
  212. </para>
  213. <example id="zend.service.amazon.query.introduction.example.basic">
  214. <title>Przeszukiwanie serwisu Amazon używając alternatywnego API zapytań</title>
  215. <para>
  216. W tym przykładzie alternatywne API zapytań używane jest jako
  217. płynny interfejs służący do określania opcji i odpowiadającym
  218. im wartościom:
  219. </para>
  220. <programlisting><![CDATA[
  221. require_once 'Zend/Service/Amazon/Query.php';
  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. ]]>
  229. </programlisting>
  230. <para>
  231. To ustawia opcję <code>Category</code> na "Books" oraz <code>Keywords</code> na "PHP".
  232. </para>
  233. <para>
  234. Aby uzyskać więcej informacji o dostępnych opcjach, proszę odwiedź
  235. <ulink
  236. url="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</ulink>.
  237. </para>
  238. </example>
  239. </sect3>
  240. </sect2>
  241. <sect2 id="zend.service.amazon.classes">
  242. <title>Klasy Zend_Service_Amazon</title>
  243. <para>
  244. Poniższe klasy są zwracane przez metody
  245. <link linkend="zend.service.amazon.itemlookup"><code>Zend_Service_Amazon::itemLookup()</code></link>
  246. oraz
  247. <link linkend="zend.service.amazon.itemsearch"><code>Zend_Service_Amazon::itemSearch()</code></link>:
  248. <itemizedlist>
  249. <listitem><para><link linkend="zend.service.amazon.classes.item"><code>Zend_Service_Amazon_Item</code></link></para></listitem>
  250. <listitem><para><link linkend="zend.service.amazon.classes.image"><code>Zend_Service_Amazon_Image</code></link></para></listitem>
  251. <listitem><para><link linkend="zend.service.amazon.classes.resultset"><code>Zend_Service_Amazon_ResultSet</code></link></para></listitem>
  252. <listitem><para><link linkend="zend.service.amazon.classes.offerset"><code>Zend_Service_Amazon_OfferSet</code></link></para></listitem>
  253. <listitem><para><link linkend="zend.service.amazon.classes.offer"><code>Zend_Service_Amazon_Offer</code></link></para></listitem>
  254. <listitem><para><link linkend="zend.service.amazon.classes.similarproduct"><code>Zend_Service_Amazon_SimilarProduct</code></link></para></listitem>
  255. <listitem><para><link linkend="zend.service.amazon.classes.accessories"><code>Zend_Service_Amazon_Accessories</code></link></para></listitem>
  256. <listitem><para><link linkend="zend.service.amazon.classes.customerreview"><code>Zend_Service_Amazon_CustomerReview</code></link></para></listitem>
  257. <listitem><para><link linkend="zend.service.amazon.classes.editorialreview"><code>Zend_Service_Amazon_EditorialReview</code></link></para></listitem>
  258. <listitem><para><link linkend="zend.service.amazon.classes.listmania"><code>Zend_Service_Amazon_ListMania</code></link></para></listitem>
  259. </itemizedlist>
  260. </para>
  261. <sect3 id="zend.service.amazon.classes.item">
  262. <title>Zend_Service_Amazon_Item</title>
  263. <para>
  264. <code>Zend_Service_Amazon_Item</code> jest typem klasy używanej
  265. dp reprezentowania przedmiotu Amazon zwracanego przez web serwis.
  266. Zawiera ona wszystkie atrybuty przedmiotu, włączając w to tytuł,
  267. opis, recenzje itd.
  268. </para>
  269. <sect4 id="zend.service.amazon.classes.item.asxml">
  270. <title>Zend_Service_Amazon_Item::asXML()</title>
  271. <para>
  272. <methodsynopsis>
  273. <type>string</type>
  274. <methodname>asXML</methodname>
  275. <void />
  276. </methodsynopsis>
  277. </para>
  278. <para>Zwraca oryginalną treść XML dla przedmiotu</para>
  279. </sect4>
  280. <sect4 id="zend.service.amazon.classes.item.properties">
  281. <title>Właściwości</title>
  282. <para>
  283. <code>Zend_Service_Amazon_Item</code> posiada właściwości
  284. bezpośrednio związane ze standardowymi częściami Amazon API.
  285. </para>
  286. <table id="zend.service.amazon.classes.item.properties.table-1">
  287. <title>Właściwości Zend_Service_Amazon_Item</title>
  288. <tgroup cols="3">
  289. <thead>
  290. <row>
  291. <entry>Nazwa</entry>
  292. <entry>Typ</entry>
  293. <entry>Opis</entry>
  294. </row>
  295. </thead>
  296. <tbody>
  297. <row>
  298. <entry>ASIN</entry>
  299. <entry>string</entry>
  300. <entry>ID przedmiotu w Amazon</entry>
  301. </row>
  302. <row>
  303. <entry>DetailPageURL</entry>
  304. <entry>string</entry>
  305. <entry>Adres URL strony ze szczegółowymi informacjami o przedmiocie</entry>
  306. </row>
  307. <row>
  308. <entry>SalesRank</entry>
  309. <entry>int</entry>
  310. <entry>Ranking sprzedaży dla przedmiotu</entry>
  311. </row>
  312. <row>
  313. <entry>SmallImage</entry>
  314. <entry>Zend_Service_Amazon_Image</entry>
  315. <entry>Małe zdjęcie przedmiotu</entry>
  316. </row>
  317. <row>
  318. <entry>MediumImage</entry>
  319. <entry>Zend_Service_Amazon_Image</entry>
  320. <entry>Średnie zdjęcie przedmiotu</entry>
  321. </row>
  322. <row>
  323. <entry>LargeImage</entry>
  324. <entry>Zend_Service_Amazon_Image</entry>
  325. <entry>Duże zdjęcie przedmiotu</entry>
  326. </row>
  327. <row>
  328. <entry>Subjects</entry>
  329. <entry>array</entry>
  330. <entry>Tematy przedmiotów</entry>
  331. </row>
  332. <row>
  333. <entry>Offers</entry>
  334. <entry>
  335. <code>
  336. <link
  337. linkend="zend.service.amazon.classes.offerset">Zend_Service_Amazon_OfferSet</link>
  338. </code>
  339. </entry>
  340. <entry>Podsumowanie ofert oraz oferty dla przedmiotu</entry>
  341. </row>
  342. <row>
  343. <entry>CustomerReviews</entry>
  344. <entry>array</entry>
  345. <entry>
  346. Recenzje klientów reprezentowane jako tablica obiektów
  347. <code>
  348. <link
  349. linkend="zend.service.amazon.classes.customerreview">Zend_Service_Amazon_CustomerReview</link>
  350. </code>
  351. </entry>
  352. </row>
  353. <row>
  354. <entry>EditorialReviews</entry>
  355. <entry>array</entry>
  356. <entry>
  357. Recenzje redaktorów reprezentowane jako tablica obiektów
  358. <code>
  359. <link
  360. linkend="zend.service.amazon.classes.editorialreview">Zend_Service_Amazon_EditorialReview</link>
  361. </code>
  362. </entry>
  363. </row>
  364. <row>
  365. <entry>SimilarProducts</entry>
  366. <entry>array</entry>
  367. <entry>
  368. Podobne produkty reprezentowane jako tablica obiektów
  369. <code>
  370. <link
  371. linkend="zend.service.amazon.classes.similarproduct">Zend_Service_Amazon_SimilarProduct</link>
  372. </code>
  373. </entry>
  374. </row>
  375. <row>
  376. <entry>Accessories</entry>
  377. <entry>array</entry>
  378. <entry>
  379. Akcesoria dla przedmiotu reprezentowane jako tablica obiektów
  380. <code>
  381. <link
  382. linkend="zend.service.amazon.classes.accessories">Zend_Service_Amazon_Accessories</link>
  383. </code>
  384. </entry>
  385. </row>
  386. <row>
  387. <entry>Tracks</entry>
  388. <entry>array</entry>
  389. <entry>Tablica numerów i nazw utworów dla muzycznych płyt CD oraz DVD</entry>
  390. </row>
  391. <row>
  392. <entry>ListmaniaLists</entry>
  393. <entry>array</entry>
  394. <entry>
  395. Listy Listmania powiązane z przedmiotem jako tablica obiektó∑
  396. <code>
  397. <link
  398. linkend="zend.service.amazon.classes.listmania">Zend_Service_Amazon_ListmainList</link>
  399. </code>
  400. </entry>
  401. </row>
  402. <row>
  403. <entry>PromotionalTag</entry>
  404. <entry>string</entry>
  405. <entry>Etykieta promocyjna przedmiotu</entry>
  406. </row>
  407. </tbody>
  408. </tgroup>
  409. </table>
  410. <para>
  411. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  412. </para>
  413. </sect4>
  414. </sect3>
  415. <sect3 id="zend.service.amazon.classes.image">
  416. <title>Zend_Service_Amazon_Image</title>
  417. <para><code>Zend_Service_Amazon_Image</code> reprezentuje zdalny obraz dla produktu.</para>
  418. <sect4 id="zend.service.amazon.classes.image.properties">
  419. <title>Właściwości</title>
  420. <table id="zend.service.amazon.classes.image.properties.table-1">
  421. <title>Właściwości Zend_Service_Amazon_Image</title>
  422. <tgroup cols="3">
  423. <thead>
  424. <row>
  425. <entry>Nazwa</entry>
  426. <entry>Typ</entry>
  427. <entry>Opis</entry>
  428. </row>
  429. </thead>
  430. <tbody>
  431. <row>
  432. <entry>Url</entry>
  433. <entry>Zend_Uri</entry>
  434. <entry>Zdalny adres URL obrazka</entry>
  435. </row>
  436. <row>
  437. <entry>Height</entry>
  438. <entry>int</entry>
  439. <entry>Wysokość obrazka w pikselach</entry>
  440. </row>
  441. <row>
  442. <entry>Width</entry>
  443. <entry>int</entry>
  444. <entry>Szerokość obrazka w pikselach</entry>
  445. </row>
  446. </tbody>
  447. </tgroup>
  448. </table>
  449. <para>
  450. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  451. </para>
  452. </sect4>
  453. </sect3>
  454. <sect3 id="zend.service.amazon.classes.resultset">
  455. <title>Zend_Service_Amazon_ResultSet</title>
  456. <para>
  457. Obiekty <code>Zend_Service_Amazon_ResultSet</code> są zwracane przez metodę
  458. <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
  459. i pozwalają ci na łatwą obsługę wielu zwróconych wyników wyszukiwania.
  460. </para>
  461. <note>
  462. <title>SeekableIterator</title>
  463. <para>
  464. Implementuje interfejs <code>SeekableIterator</code> dla łatwej iteracji
  465. (np. używając <code>foreach</code>), tak samo jak i dla bezpośredniego
  466. dostępu do specyficznego wyniku używając metody <code>seek()</code>.
  467. </para>
  468. </note>
  469. <sect4 id="zend.service.amazon.classes.resultset.totalresults">
  470. <title>Zend_Service_Amazon_ResultSet::totalResults()</title>
  471. <methodsynopsis>
  472. <type>int</type>
  473. <methodname>totalResults</methodname>
  474. <void />
  475. </methodsynopsis>
  476. <para>Zwraca całkowitą ilość wyników zwróconych przez wyszukiwanie</para>
  477. <para>
  478. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  479. </para>
  480. </sect4>
  481. </sect3>
  482. <sect3 id="zend.service.amazon.classes.offerset">
  483. <title>Zend_Service_Amazon_OfferSet</title>
  484. <para>
  485. Każdy wynik zwracany przez metody
  486. <link linkend="zend.service.amazon.itemsearch">Zend_Service_Amazon::itemSearch()</link>
  487. oraz
  488. <link linkend="zend.service.amazon.itemlookup">Zend_Service_Amazon::itemLookup()</link>
  489. zawiera obiekt
  490. <code>Zend_Service_Amazon_OfferSet</code> poprzez który dostępne są
  491. informacje o cenach dla przedmiotu.
  492. </para>
  493. <sect4 id="zend.service.amazon.classes.offerset.parameters">
  494. <title>Właściwości</title>
  495. <table id="zend.service.amazon.classes.offerset.parameters.table-1">
  496. <title>Właściwości Zend_Service_Amazon_OfferSet</title>
  497. <tgroup cols="3">
  498. <thead>
  499. <row>
  500. <entry>Nazwa</entry>
  501. <entry>Typ</entry>
  502. <entry>Opis</entry>
  503. </row>
  504. </thead>
  505. <tbody>
  506. <row>
  507. <entry>LowestNewPrice</entry>
  508. <entry>int</entry>
  509. <entry>Najniższa cena dla nowego przedmiotu (stan &quot;New&quot;)</entry>
  510. </row>
  511. <row>
  512. <entry>LowestNewPriceCurrency</entry>
  513. <entry>string</entry>
  514. <entry>
  515. Waluta dla <code>LowestNewPrice</code>
  516. </entry>
  517. </row>
  518. <row>
  519. <entry>LowestOldPrice</entry>
  520. <entry>int</entry>
  521. <entry>Najniższa cena dla używanego przedmiotu (stan &quot;Used&quot;)</entry>
  522. </row>
  523. <row>
  524. <entry>LowestOldPriceCurrency</entry>
  525. <entry>string</entry>
  526. <entry>
  527. Waluta dla <code>LowestOldPrice</code>
  528. </entry>
  529. </row>
  530. <row>
  531. <entry>TotalNew</entry>
  532. <entry>int</entry>
  533. <entry>Całkowita ilość przedmiotów o stanie &quot;new&quot;</entry>
  534. </row>
  535. <row>
  536. <entry>TotalUsed</entry>
  537. <entry>int</entry>
  538. <entry>Całkowita ilość przedmiotów o stanie &quot;used&quot;</entry>
  539. </row>
  540. <row>
  541. <entry>TotalCollectible</entry>
  542. <entry>int</entry>
  543. <entry>Całkowita ilość przedmiotów o stanie &quot;collectible&quot;</entry>
  544. </row>
  545. <row>
  546. <entry>TotalRefurbished</entry>
  547. <entry>int</entry>
  548. <entry>Całkowita ilość przedmiotów o stanie &quot;refurbished&quot;</entry>
  549. </row>
  550. <row>
  551. <entry>Offers</entry>
  552. <entry>array</entry>
  553. <entry>
  554. Tablica obiektów
  555. <code>Zend_Service_Amazon_Offer</code>.
  556. </entry>
  557. </row>
  558. </tbody>
  559. </tgroup>
  560. </table>
  561. <para>
  562. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  563. </para>
  564. </sect4>
  565. </sect3>
  566. <sect3 id="zend.service.amazon.classes.offer">
  567. <title>Zend_Service_Amazon_Offer</title>
  568. <para>
  569. Każda oferta dla przedmiotu jest zwracana jako obiekt
  570. <code>Zend_Service_Amazon_Offer</code>.
  571. </para>
  572. <sect4 id="zend.service.amazon.classes.offer.properties">
  573. <title>Właściwości Zend_Service_Amazon_Offer</title>
  574. <table id="zend.service.amazon.classes.offer.properties.table-1">
  575. <title>Właściwości</title>
  576. <tgroup cols="3">
  577. <thead>
  578. <row>
  579. <entry>Nazwa</entry>
  580. <entry>Typ</entry>
  581. <entry>Opis</entry>
  582. </row>
  583. </thead>
  584. <tbody>
  585. <row>
  586. <entry>MerchantId</entry>
  587. <entry>string</entry>
  588. <entry>ID handlowca Amazon</entry>
  589. </row>
  590. <row>
  591. <entry>GlancePage</entry>
  592. <entry>string</entry>
  593. <entry>Adres URL strony z podsumowaniem handlowca</entry>
  594. </row>
  595. <row>
  596. <entry>Condition</entry>
  597. <entry>string</entry>
  598. <entry>Stan przedmiotu</entry>
  599. </row>
  600. <row>
  601. <entry>OfferListingId</entry>
  602. <entry>string</entry>
  603. <entry>ID listy ofert</entry>
  604. </row>
  605. <row>
  606. <entry>Price</entry>
  607. <entry>int</entry>
  608. <entry>Cena za przedmiot</entry>
  609. </row>
  610. <row>
  611. <entry>CurrencyCode</entry>
  612. <entry>string</entry>
  613. <entry>Kod waluty dla ceny przedmiotu</entry>
  614. </row>
  615. <row>
  616. <entry>Availability</entry>
  617. <entry>string</entry>
  618. <entry>Dostępność przedmiotu</entry>
  619. </row>
  620. <row>
  621. <entry>IsEligibleForSuperSaverShipping</entry>
  622. <entry>boolean</entry>
  623. <entry>Czy przedmiot jest dostępny w Super Saver Shipping czy nie</entry>
  624. </row>
  625. </tbody>
  626. </tgroup>
  627. </table>
  628. <para>
  629. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  630. </para>
  631. </sect4>
  632. </sect3>
  633. <sect3 id="zend.service.amazon.classes.similarproduct">
  634. <title>Zend_Service_Amazon_SimilarProduct</title>
  635. <para>
  636. Kiedy wyszukujemy przedmiotów, Amazon także zwraca listę
  637. podobnych produktów, które także mogą odpowiadać szukającemu.
  638. Każdy z nich jest zwracany jako obiekt
  639. <code>Zend_Service_Amazon_SimilarProduct</code>.
  640. </para>
  641. <para>
  642. Każdy obiekt zawiera informacje pozwalające ci na
  643. przeprowadzenie kolejnego żądania w celu pobrania pełnych
  644. informacji o przedmiocie.
  645. </para>
  646. <sect4 id="zend.service.amazon.classes.similarproduct.properties">
  647. <title>Właściwości</title>
  648. <table id="zend.service.amazon.classes.similarproduct.properties.table-1">
  649. <title>Właściwości Zend_Service_Amazon_SimilarProduct</title>
  650. <tgroup cols="3">
  651. <thead>
  652. <row>
  653. <entry>Nazwa</entry>
  654. <entry>Typ</entry>
  655. <entry>Opis</entry>
  656. </row>
  657. </thead>
  658. <tbody>
  659. <row>
  660. <entry>ASIN</entry>
  661. <entry>string</entry>
  662. <entry>Unikalny ID produktu (ASIN)</entry>
  663. </row>
  664. <row>
  665. <entry>Title</entry>
  666. <entry>string</entry>
  667. <entry>Tytuł produktu</entry>
  668. </row>
  669. </tbody>
  670. </tgroup>
  671. </table>
  672. <para>
  673. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  674. </para>
  675. </sect4>
  676. </sect3>
  677. <sect3 id="zend.service.amazon.classes.accessories">
  678. <title>Zend_Service_Amazon_Accessories</title>
  679. <para>
  680. Akcesoria dla zwróconego przedmiotu są reprezentowane jako obiekty <code>Zend_Service_Amazon_Accessories</code>
  681. </para>
  682. <sect4 id="zend.service.amazon.classes.accessories.properties">
  683. <title>Właściwości</title>
  684. <table id="zend.service.amazon.classes.accessories.properties.table-1">
  685. <title>Właściwości Zend_Service_Amazon_Accessories</title>
  686. <tgroup cols="3">
  687. <thead>
  688. <row>
  689. <entry>Nazwa</entry>
  690. <entry>Typ</entry>
  691. <entry>Opis</entry>
  692. </row>
  693. </thead>
  694. <tbody>
  695. <row>
  696. <entry>ASIN</entry>
  697. <entry>string</entry>
  698. <entry>Unikalny ID produktu Amazon (ASIN)</entry>
  699. </row>
  700. <row>
  701. <entry>Title</entry>
  702. <entry>string</entry>
  703. <entry>Tytuł produktu</entry>
  704. </row>
  705. </tbody>
  706. </tgroup>
  707. </table>
  708. <para>
  709. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  710. </para>
  711. </sect4>
  712. </sect3>
  713. <sect3 id="zend.service.amazon.classes.customerreview">
  714. <title>Zend_Service_Amazon_CustomerReview</title>
  715. <para>
  716. Każda recenzja klienta jest zwracana jako obiekt <code>Zend_Service_Amazon_CustomerReview</code>.
  717. </para>
  718. <sect4 id="zend.service.amazon.classes.customerreview.properties">
  719. <title>Właściwości</title>
  720. <table id="zend.service.amazon.classes.customerreview.properties.table-1">
  721. <title>Właściwości Zend_Service_Amazon_CustomerReview</title>
  722. <tgroup cols="3">
  723. <thead>
  724. <row>
  725. <entry>Nazwa</entry>
  726. <entry>Typ</entry>
  727. <entry>Opis</entry>
  728. </row>
  729. </thead>
  730. <tbody>
  731. <row>
  732. <entry>Rating</entry>
  733. <entry>string</entry>
  734. <entry>Ocena przedmiotu</entry>
  735. </row>
  736. <row>
  737. <entry>HelpfulVotes</entry>
  738. <entry>string</entry>
  739. <entry>Głosy mówiące o tym jak pomocna jest recenzja</entry>
  740. </row>
  741. <row>
  742. <entry>CustomerId</entry>
  743. <entry>string</entry>
  744. <entry>ID klienta</entry>
  745. </row>
  746. <row>
  747. <entry>TotalVotes</entry>
  748. <entry>string</entry>
  749. <entry>Całkowiita ilość głosów</entry>
  750. </row>
  751. <row>
  752. <entry>Date</entry>
  753. <entry>string</entry>
  754. <entry>Data oceny</entry>
  755. </row>
  756. <row>
  757. <entry>Summary</entry>
  758. <entry>string</entry>
  759. <entry>Podsumowanie oceny</entry>
  760. </row>
  761. <row>
  762. <entry>Content</entry>
  763. <entry>string</entry>
  764. <entry>Zawartość oceny</entry>
  765. </row>
  766. </tbody>
  767. </tgroup>
  768. </table>
  769. <para>
  770. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  771. </para>
  772. </sect4>
  773. </sect3>
  774. <sect3 id="zend.service.amazon.classes.editorialreview">
  775. <title>Zend_Service_Amazon_EditorialReview</title>
  776. <para>
  777. Każda recenzja redaktora jest zwracana jako obiekt
  778. <code>Zend_Service_Amazon_EditorialReview</code>
  779. </para>
  780. <sect4 id="zend.service.amazon.classes.editorialreview.properties">
  781. <title>Właściwości</title>
  782. <table id="zend.service.amazon.classes.editorialreview.properties.table-1">
  783. <title>Właściwości Zend_Service_Amazon_EditorialReview</title>
  784. <tgroup cols="3">
  785. <thead>
  786. <row>
  787. <entry>Nazwa</entry>
  788. <entry>Typ</entry>
  789. <entry>Opis</entry>
  790. </row>
  791. </thead>
  792. <tbody>
  793. <row>
  794. <entry>Source</entry>
  795. <entry>string</entry>
  796. <entry>Źródło recenzji redaktora</entry>
  797. </row>
  798. <row>
  799. <entry>Content</entry>
  800. <entry>string</entry>
  801. <entry>Zawartość oceny</entry>
  802. </row>
  803. </tbody>
  804. </tgroup>
  805. </table>
  806. <para>
  807. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  808. </para>
  809. </sect4>
  810. </sect3>
  811. <sect3 id="zend.service.amazon.classes.listmania">
  812. <title>Zend_Service_Amazon_Listmania</title>
  813. <para>
  814. Wyniki wyszukiwania elementów List Mania są zwracane jako
  815. obiekty <code>Zend_Service_Amazon_Listmania</code>.
  816. </para>
  817. <sect4 id="zend.service.amazon.classes.listmania.properties">
  818. <title>Właściwości</title>
  819. <table id="zend.service.amazon.classes.listmania.properties.table-1">
  820. <title>Właściwości Zend_Service_Amazon_Listmania</title>
  821. <tgroup cols="3">
  822. <thead>
  823. <row>
  824. <entry>Nazwa</entry>
  825. <entry>Typ</entry>
  826. <entry>Opis</entry>
  827. </row>
  828. </thead>
  829. <tbody>
  830. <row>
  831. <entry>ListId</entry>
  832. <entry>string</entry>
  833. <entry>ID listy</entry>
  834. </row>
  835. <row>
  836. <entry>ListName</entry>
  837. <entry>string</entry>
  838. <entry>Nazwa listy</entry>
  839. </row>
  840. </tbody>
  841. </tgroup>
  842. </table>
  843. <para>
  844. <link linkend="zend.service.amazon.classes">Powrót do listy klas</link>
  845. </para>
  846. </sect4>
  847. </sect3>
  848. </sect2>
  849. </sect1>
  850. <!--
  851. vim:se ts=4 sw=4 et:
  852. -->