Como obter uma lista de ofertas filtrando por ID do produto com a API do Buscapé

Developers,

hoje aprenderemos como obter ofertas a partir de um ID do produto. Esse caso é muito usado por aplicativos que necessitam buscar ofertas relacionadas a um produto específico oferecido pelo Buscapé.

Em nosso exemplo, vamos pesquisar por ofertas relacionadas ao produto “Apple iPad 2 16 GB” que tem o ID “314277”. Nesse caso, usaremos o serviço Find Offer List para obter as ofertas filtrando pelo ID do produto em questão.

Na URL REST acima, informamos o nome do serviço, o ID da aplicação e o ID do produto através do parâmetro productId. Com isso, temos o seguinte resultado com todas as ofertas desse produto.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Result xmlns="urn:buscape" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schk="true" match="all" page="1" totalPages="2" totalResultsSellers="13" totalResultsReturned="16" totalResultsAvailable="19" xsi:schemaLocation="http://developer.buscape.com/admin/buscape.xsd">
<details>
<applicationID>6a46486e764a51354753343d</applicationID>
<applicationVersion>0.0.0.1</applicationVersion>
<applicationPath>buscape.improjetos.com.br</applicationPath>
<date>2012-05-15T18:37:29.136-03:00</date>
<elapsedTime>346</elapsedTime>
<status>success</status>
<code>0</code>
<message>success</message>
</details>
<category hasOffer="false" isFinal="true" parentCategoryId="2" id="10232">
<thumbnail url="http://imagex.buscape.com.br/bp5/categorias/10232.jpg"/>
<links>
<link type="category" url="http://compare.buscape.com.br/tablet.html?mdsrc=9262544&amp;mdapp=307&amp;mddtn=51922611"/>
<link type="xml" url="http://sandbox.buscape.com/service/findProductList/6a46486e764a51354753343d/br/?categoryId=10232&amp;sourceId=9262544"/>
</links>
<name>Tablet</name>
</category>
<product quantity="0" id="314277" eco="false" hasMetaSearch="false" categoryId="10232" totalSellers="13" fullDescription="true">
<productName>Apple iPad 2 16 GB</productName>
<currency abbreviation="BRL"/>
<priceMin>1056.39</priceMin>
<priceMax>1399.00</priceMax>
<links>
<link type="product" url="http://compare.buscape.com.br/apple-ipad-2-16-gb.html?mdsrc=9262544&amp;mdapp=307&amp;mddtn=51922611"/>
<link type="specification" url="http://compare.buscape.com.br/prod_ficha?idu=314277"/>
<link type="xml" url="http://sandbox.buscape.com/service/findOfferList/6a46486e764a51354753343d/br/?productId=314277&amp;sourceId=9262544"/>
</links>
<thumbnail url="http://imagex.buscape.com.br/thumbs/ensopado/10232/200x200_314277_1.jpg"/>
<rating>
<userAverageRating>
<numComments>13</numComments>
<rating>8.6</rating>
<links>
<link type="xml" url="http://sandbox.buscape.com/service/viewUserRatings/6a46486e764a51354753343d/br/?productId=314277&amp;sourceId=9262544"/>
</links>
<specification>
<item label="Duração da Bateria">
<value>8.6</value>
</item>
<item label="Design">
<value>9.4</value>
</item>
<item label="Custo-Benefício">
<value>7.8</value>
</item>
<item label="Funções e Características">
<value>8.4</value>
</item>
<item label="Display">
<value>9.8</value>
</item>
<item label="Recursos Adicionais">
<value>7.8</value>
</item>
<item label="Conectividade">
<value>7.4</value>
</item>
<item label="Câmera">
<value>9.2</value>
</item>
</specification>
</userAverageRating>
</rating>
<specification>
<links>
<link type="xml" url="http://sandbox.buscape.com/service/viewProductDetails/6a46486e764a51354753343d/br/?productId=314277&amp;sourceId=9262544"/>
</links>
<item label="Conexões">
<value>Bluetooth</value>
<value>Fone de Ouvido</value>
<value>USB</value>
<value>Wi-Fi</value>
</item>
<item label="Formatos Aceitos">
<value>AAC</value>
<value>AVI</value>
<value>JPEG</value>
<value>MP3</value>
<value>MP4</value>
<value>Mpeg4</value>
<value>PDF</value>
</item>
<item label="Funções">
<value>E-mail</value>
<value>Grava Vídeo</value>
</item>
<item label="Cartão de Memória">
<value>Não</value>
</item>
<item label="Capacidade de Armazenamento">
<value>16 GB</value>
</item>
<item label="Tela">
<value>9.7 Polegadas</value>
</item>
</specification>
</product>
<offer productId="314277" id="104686051" categoryId="10232">
<offerName>Ipad 2 16gb Wi - fi Apple Mc769 Preto cod. 580905</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=104686051&amp;emp_id=370&amp;az=0199da86d6561d2ef6d52eb4a0fe256c&amp;cn=538660241&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://img.fnac.com.br/Imagens/Produtos/297/580905_0_5.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="370">
<sellerName>Fnac.com.br</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo370.gif"/>
<links>
<link type="seller" url="http://www.fnac.com.br"/>
</links>
<contacts>
<contact label="SAC" value="11-30385599"/>
</contacts>
<rating>
<userAverageRating>
<numComments>14248</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>14248</numComments>
<rating>Ouro</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="96344631" categoryId="10232">
<offerName>iPad 2 16GB Tela 9,7 Bivolt Bluetooth Wi - Fi GPS Grava em HD - 1354959</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=96344631&amp;emp_id=79&amp;az=733b96063064769756d9811d937d4373&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://img.magazineluiza.com.br/vitrine/13/135495900.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1143.12</value>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="79">
<sellerName>Magazine Luiza</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo79.gif"/>
<links>
<link type="seller" url="http://www.magazineluiza.com.br/parceiro/visita_parceiro.asp?parceiro=23"/>
</links>
<contacts/>
<rating>
<userAverageRating>
<numComments>79198</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>79198</numComments>
<rating>Diamante</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="93965351" categoryId="10232">
<offerName>iPad 2 - WI - FI 16GB - MC979BZ / A - Branco - Apple - - cod. 34222</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=93965351&amp;emp_id=68557&amp;az=0dfccae236189205e51aa73fab71d5ab&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbnails.buscape.com.br/offerimg/b/a/balaodainformatica/cba/a01/100x100_0989f4APPLE%252DMC979BZ%252DA.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1226.40</value>
<parcel>
<value>144.28</value>
<number>10</number>
<interest>3.07</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="68557">
<sellerName>Balão da informática</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo68557.gif"/>
<links>
<link type="seller" url="http://www.balaodainformatica.com.br?parceiro=buscape&amp;utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
<link type="video" url="http://parceiro.buscape.com.br/emp_video?emp_id=68557&amp;prod_id=93965351&amp;id=10232&amp;az=b6f2bad88b80774f9b4be93ba53cd512&amp;cn=1441162676&amp;nc=1878522414920120515183729"/>
</links>
<contacts>
<contact label="Televendas" value="11-26267984"/>
</contacts>
<rating>
<userAverageRating>
<numComments>14836</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>14836</numComments>
<rating>Ouro</rating>
</eBitRating>
</rating>
<coupon id="31975">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=31975&amp;id_prod=93965351&amp;id_emp=68557"/>
<description>Lindo Fone de Ouvido!</description>
<type>brinde</type>
</coupon>
</seller>
</offer>
<offer productId="314277" id="100223888" categoryId="10232">
<offerName>Ipad 2 Wi - Fi 16GB, Bluetooh, Tela de 9.7 ´ Gravação em HD, Auto Falante - MC769BZ / A - APPLE</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=100223888&amp;emp_id=83003&amp;az=8a334b4d4ee4d5103a6a70da2b0234ba&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.83003-5f94b90.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1399.00</value>
<parcel>
<value>116.58</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="83003">
<sellerName>ManiaVirtual.com</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo83003.gif"/>
<links>
<link type="seller" url="http://www.maniavirtual.com.br?ORI=bp&amp;utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
</links>
<contacts>
<contact label="Atendimento" value="11-40629656"/>
</contacts>
<rating>
<userAverageRating>
<numComments>18327</numComments>
<rating>6.0</rating>
</userAverageRating>
<eBitRating>
<numComments>18327</numComments>
<rating>Diamante</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="106269794" categoryId="10232">
<offerName>iPad 2 Apple / Wi - Fi / 16GB / LCD 9.7 ´ / Branco - COD. MC979BZ / A</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=106269794&amp;emp_id=778206&amp;az=6116c14e2600aad04aebfbcb92e9699e&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://www.girafa.com.br/imagens/Informatica/Tablet/9840-1317917354-ipad-2-apple-wi-fi-16-gb-lcd-9-7-branco-1.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1189.15</value>
<parcel>
<value>139.90</value>
<number>10</number>
<interest>3.07</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="778206">
<sellerName>GIRAFA</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo778206.gif"/>
<links>
<link type="seller" url="http://www.girafa.com.br?origem=buscape"/>
</links>
<contacts>
<contact label="Atendimento" value="11-37044515"/>
</contacts>
<rating>
<userAverageRating>
<numComments>2640</numComments>
<rating>5.0</rating>
</userAverageRating>
<eBitRating>
<numComments>2640</numComments>
<rating>Ouro</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="91609517" categoryId="10232">
<offerName>iPad 2 de 16 GB com Wi - Fi - Preto MC769BZ / A</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91609517&amp;emp_id=913527&amp;az=f61645c2b6123b8b7a10a5aef631eeac&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.913527-575d9ad.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="913527">
<sellerName>Apple Store</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo913527.gif"/>
<links>
<link type="seller" url="http://store.apple.com/br?utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
</links>
<contacts>
<contact label="Atendimento" value="0800-7610867"/>
</contacts>
<rating>
<userAverageRating>
<numComments>28</numComments>
<rating>7.0</rating>
</userAverageRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="96695409" categoryId="10232">
<offerName>Tablet Apple iPad 2 16GB Wi - Fi ( Diversas Cores )</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=96695409&amp;emp_id=130767&amp;az=6b38ad6fae5c2cb579dc767cb743f0d0&amp;cn=540583985&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.130767-5c37471.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1063.83</value>
<parcel>
<value>114.39</value>
<number>10</number>
<interest>1.34</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="true" isTrustedStore="true" id="130767">
<sellerName>ZUBA MEGA LOJA</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo130767.gif"/>
<links>
<link type="seller" url="http://www.zuba.com.br?utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
</links>
<contacts>
<contact label="ppc" value="(11) 3014-3559"/>
</contacts>
<rating>
<userAverageRating>
<numComments>1068</numComments>
<rating>5.0</rating>
</userAverageRating>
<eBitRating>
<numComments>1068</numComments>
<rating>Ouro</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="91290937" categoryId="10232">
<offerName>iPad 2 16GB Branco Wi - Fi - Apple</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91290937&amp;emp_id=65&amp;az=3261559b746f962c82d95d63da57bfef&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://i.s8.com.br/images/software/cover/img1/23826961.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="65">
<sellerName>Submarino</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo65.gif"/>
<links>
<link type="seller" url="http://www.submarino.com.br/?franq=102414&amp;WT.mc_id=Buscape&amp;WT.mc_ev=Click&amp;coup_num=17-BP059-00001-0693074939"/>
</links>
<contacts>
<contact label="SAC" value="4003-5544"/>
<contact label="Televendas" value="4003-2000"/>
</contacts>
<rating>
<userAverageRating>
<numComments>8061</numComments>
<rating>6.0</rating>
</userAverageRating>
</rating>
<coupon id="32639">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=32639&amp;id_prod=91290937&amp;id_emp=65"/>
<description>Frete Grátis para todo o Brasil</description>
<type>frete</type>
</coupon>
</seller>
</offer>
<offer productId="314277" id="105546016" categoryId="10232">
<offerName>iPad 2 16GB wi - fi preto MC769BZ / A Apple</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=105546016&amp;emp_id=1210&amp;az=fe5529689dc7a188a6d5c29e33dee361&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.1210-64a8120.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1399.00</value>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="1210">
<sellerName>Kalunga.com</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo1210.gif"/>
<links>
<link type="seller" url="http://www.kalunga.com.br?pcid=11&amp;utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
</links>
<contacts/>
<rating>
<userAverageRating>
<numComments>15604</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>15604</numComments>
<rating>Diamante</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="91291948" categoryId="10232">
<offerName>iPad 2 16GB Preto Wi - Fi - Apple ( 7421328 )</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91291948&amp;emp_id=81&amp;az=fbc74c7e533c32c31f04884d96a2f3dc&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.81-571012c.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1234.05</value>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="81">
<sellerName>Americanas.com</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo81.gif"/>
<links>
<link type="seller" url="http://www.americanas.com.br/cgi-bin/WebObjects/eacom.woa/wa/parceiro?par=buscape&amp;epar=buscape&amp;opn=YYNKZU"/>
</links>
<contacts>
<contact label="Atendimento" value="4003-4848"/>
<contact label="Televendas" value="0300-7893200"/>
<contact label="Televendas" value="4003-1000"/>
</contacts>
<rating>
<userAverageRating>
<numComments>10051</numComments>
<rating>6.0</rating>
</userAverageRating>
</rating>
<coupon id="32840">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=32840&amp;id_prod=91291948&amp;id_emp=81"/>
<description>desconto de 5.00%</description>
<type>desc</type>
</coupon>
</seller>
</offer>
<offer productId="314277" id="91292211" categoryId="10232">
<offerName>iPad 2 16GB Wi - Fi Branco - Apple</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91292211&amp;emp_id=125&amp;az=ae568a0dfca9f6885d32c298b6c50562&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.125-5710233.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1234.05</value>
<parcel>
<value>102.84</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="125">
<sellerName>Shoptime</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo125.gif"/>
<links>
<link type="seller" url="http://www.shoptime.com.br/apollo/partnerAction.do?method=redirect&amp;link=10586"/>
</links>
<contacts>
<contact label="Atendimento" value="11-40039898"/>
</contacts>
<rating>
<userAverageRating>
<numComments>3247</numComments>
<rating>4.0</rating>
</userAverageRating>
</rating>
<coupon id="29093">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=29093&amp;id_prod=91292211&amp;id_emp=125"/>
<description>Frete Grátis para todo o Brasil</description>
<type>frete</type>
</coupon>
</seller>
</offer>
<offer productId="314277" id="104686073" categoryId="10232">
<offerName>Ipad 2 16gb Wi - fi Apple Mc979 Branco cod. 580916</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=104686073&amp;emp_id=370&amp;az=5484fa3302dcb6d6995c533af8847c7e&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://img.fnac.com.br/Imagens/Produtos/297/580916_0_5.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="370">
<sellerName>Fnac.com.br</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo370.gif"/>
<links>
<link type="seller" url="http://www.fnac.com.br"/>
</links>
<contacts>
<contact label="SAC" value="11-30385599"/>
</contacts>
<rating>
<userAverageRating>
<numComments>14248</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>14248</numComments>
<rating>Ouro</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="96344696" categoryId="10232">
<offerName>iPad 2 16GB Tela 9,7 Bivolt Bluetooth Wi - Fi GPS Grava em HD - 1354956</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=96344696&amp;emp_id=79&amp;az=54293b76bfaf3a287cd03745b4ceeac0&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.79-5be1a78.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1143.12</value>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="79">
<sellerName>Magazine Luiza</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo79.gif"/>
<links>
<link type="seller" url="http://www.magazineluiza.com.br/parceiro/visita_parceiro.asp?parceiro=23"/>
</links>
<contacts/>
<rating>
<userAverageRating>
<numComments>79198</numComments>
<rating>7.0</rating>
</userAverageRating>
<eBitRating>
<numComments>79198</numComments>
<rating>Diamante</rating>
</eBitRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="91609529" categoryId="10232">
<offerName>iPad 2 de 16 GB com Wi - Fi - Branco MC979BZ / A</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91609529&amp;emp_id=913527&amp;az=7c8ada37ee8b9b72a50ac80bc432e4c2&amp;cn=540968734&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.913527-575d9b9.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="913527">
<sellerName>Apple Store</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo913527.gif"/>
<links>
<link type="seller" url="http://store.apple.com/br?utm_source=buscape&amp;utm_medium=buscape&amp;utm_campaign=buscape"/>
</links>
<contacts>
<contact label="Atendimento" value="0800-7610867"/>
</contacts>
<rating>
<userAverageRating>
<numComments>28</numComments>
<rating>7.0</rating>
</userAverageRating>
</rating>
</seller>
</offer>
<offer productId="314277" id="91290939" categoryId="10232">
<offerName>iPad 2 16GB Preto Wi - Fi - Apple</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91290939&amp;emp_id=65&amp;az=e029e35d884deb61fadd5e686e23187e&amp;cn=539814488&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.65-570fd3b.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1299.00</value>
<parcel>
<value>108.25</value>
<number>12</number>
<interest>0.0</interest>
</parcel>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="65">
<sellerName>Submarino</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo65.gif"/>
<links>
<link type="seller" url="http://www.submarino.com.br/?franq=102414&amp;WT.mc_id=Buscape&amp;WT.mc_ev=Click&amp;coup_num=17-BP059-00001-0693074939"/>
</links>
<contacts>
<contact label="SAC" value="4003-5544"/>
<contact label="Televendas" value="4003-2000"/>
</contacts>
<rating>
<userAverageRating>
<numComments>8061</numComments>
<rating>6.0</rating>
</userAverageRating>
</rating>
<coupon id="32639">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=32639&amp;id_prod=91290939&amp;id_emp=65"/>
<description>Frete Grátis para todo o Brasil</description>
<type>frete</type>
</coupon>
</seller>
</offer>
<offer productId="314277" id="91291957" categoryId="10232">
<offerName>iPad 2 16GB Branco Wi - Fi - Apple ( 7462202 )</offerName>
<links>
<link type="offer" url="http://compare.buscape.com.br/visualiza?id=10232&amp;raiz=2&amp;prod_id=91291957&amp;emp_id=81&amp;az=13abdf2547e757dc9dcb2ff249d14701&amp;cn=539814488&amp;nc=1878522414920120515183729&amp;mdsrc=9262544&amp;pos=0&amp;pg=4"/>
</links>
<thumbnail url="http://thumbs.buscape.com.br/T100x100/__2.81-5710135.jpg"/>
<price>
<currency abbreviation="BRL"/>
<value>1234.05</value>
</price>
<seller advertiserId="0" pagamentoDigital="false" isTrustedStore="true" id="81">
<sellerName>Americanas.com</sellerName>
<thumbnail url="http://imagex.buscape.com.br/vitrine/logo81.gif"/>
<links>
<link type="seller" url="http://www.americanas.com.br/cgi-bin/WebObjects/eacom.woa/wa/parceiro?par=buscape&amp;epar=buscape&amp;opn=YYNKZU"/>
</links>
<contacts>
<contact label="Atendimento" value="4003-4848"/>
<contact label="Televendas" value="0300-7893200"/>
<contact label="Televendas" value="4003-1000"/>
</contacts>
<rating>
<userAverageRating>
<numComments>10051</numComments>
<rating>6.0</rating>
</userAverageRating>
</rating>
<coupon id="32840">
<link type="coupon" url="http://preco.buscape.com.br/cupom/cupom.asp?lkpm=32840&amp;id_prod=91291957&amp;id_emp=81"/>
<description>desconto de 5.00%</description>
<type>desc</type>
</coupon>
</seller>
</offer>
</Result>

Veja também este tutorial em texto.

É isso, developers! Mão à obra.

Deixe uma resposta

Topo