• 0
IreOke

Simple Get con la nueva API con PHP

Question

Estoy tratando de usar la nueva API para crear una simple consulta por categorias, ya registre mi aplicacion en MercadoLibre Venezuela para poder usar la API, estoy usando el siguiente codigo:

 

require 'meli.php';
$meli = new Meli('MyID', 'MySecret');
$params = array('category' => '1747');
$query = $meli->get('/sites/MLV/search', $params);
echo '<pre>';
print_r($query);

echo '</pre>'; 

 

Pero solo obtengo :

 

Array
(
[body] =>
[httpCode] => 0
)

 

Pregunto:

 

1) Como mi app esta registrada en mercadolibre venezuela, debo editar la linea 17 de meli.php que dice

 

protected static $AUTH_URL     = "http://auth.mercadolivre.com.br/authorization";

 

y colocar

 

protected static $AUTH_URL     = "http://auth.mercadolibre.com.ve/authorization";

 

cambiando para la url de Venezuela  o la url de brazil (como esta originalmente) valida todas las apps???

 

2) esta correcta la URl de la API para hacer una consulta por categoria 

 

/sites/MLV/search

 

o tal vez deberia usar

 

/sites/MLV/search?

 

3) para consultar una categoria en especifico debo pasar en $param la variable 'category' => '1747' yo apunto a https://api.mercadolibre.com/sites/MLV/search?category=1747 y la API me responde correctamente

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hola, paso a responder tus dudas:

1. Está bien que cambies el dominio de la url de authentication por .ve

2. La url para buscar por categoría es https://api.mercadolibre.com/sites/MLV/categories

Puedes ver otras opciones de búsqueda de categorías con ejemplos en nuestro API-Directory, bajo la sección 'Categories and Listings'.

3. Para obtener una categoría en específico te conviene hacer un GET a una url de ésta manera: https://api.mercadolibre.com/categories/MLV1367 donde  MLV1367 es el Id de la categoría específica. Si quieres obtener los items para una categoría específica puedes buscarlos así:

https://api.mercadolibre.com/sites/MLA/search?category=MLA34289 o de ésta manera, donde limit es la cantidad de items que quieres obtener (en éste ejemplo son 10 items) https://api.mercadolibre.com/sites/MLA/search?category=MLA34289&limit=10

 

Recomendación:

Prueba editar meli.php y dentro de public static $CURL_OPTS agregar: 

CURLOPT_SSLVERSION => 3

 

Quedando de la siguiente manera:

 

public static $CURL_OPTS = array(
        CURLOPT_USERAGENT => "MELI-PHP-SDK-1.0.0", 
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_CONNECTTIMEOUT => 10, 
        CURLOPT_RETURNTRANSFER => 1, 
        CURLOPT_TIMEOUT => 60,
        CURLOPT_SSLVERSION => 3
    );

 

Saludos!

Share this post


Link to post
Share on other sites
  • 0

Hello IreOke,

 

1) I don't know answres to you, But you can try :) 

 

2) do not put "?" in final of URL search.

 

3) you can to do using the tow methods, but in  parameters is more "beautiful".

 

in line 

$meli = new Meli('MyID', 'MySecret'); 

You're changing the variables for you application values?

$meli = new Meli('9999999999999999', '8888D8888D8888D888D88');

 

In array $params is good you put access_token and sellerid (ever).

Share this post


Link to post
Share on other sites
  • 0

Hi Jedi Knight thanks for reply, 

 

2) Yes I have tried with ? and nothing happens

3) I change values of Id and secret, according to MeLi Developers page get queries dont use access_token and sellerid, but I tried with out succesfull,

 

I guess If I use '/sites/MLV' in $meli declaration I could use category as a param??

Share this post


Link to post
Share on other sites
  • 0

using same code of you:

 

require 'meli.php';
$meli = new Meli('6567898765678', '987h7fg8f9df8d7g8fd98f7g');
$params = array('category' => '1747');
$query = $meli->get('/sites/MLV/search', $params);
echo '<pre>';
print_r($query);

echo '</pre>'; 

 

 

 

I retrieve data:

 

Array
(
[body] => stdClass Object
(
[site_id] => MLV
[paging] => stdClass Object
(
[total] => 416017
[offset] => 0
[limit] => 50
)

[results] => Array
(
[0] => stdClass Object
(
[id] => MLV429581842
[site_id] => MLV
[title] => Kit Tiempo Hyundai Getz Y Elantra 1.6 Original
[subtitle] =>
[seller] => stdClass Object
(
[id] => 147980313
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 4999
[currency_id] => VEF
[available_quantity] => 29
[sold_quantity] => 61
[buying_mode] => buy_it_now
[listing_type_id] => gold
[stop_time] => 2014-12-22T16:49:02.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429581842-kit-tiempo-hyundai-getz-y-elantra-16-original-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/12966-MLV20069663748_032014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 4999
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-D
[state_name] => Aragua
[city_id] =>
[city_name] => Mario Briceño Iragorry (El Limón)
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 122628764
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-D
[name] => Aragua
)

[city] => stdClass Object
(
[id] =>
[name] => Mario Briceño Iragorry (El Limón)
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV91411
)

[1] => stdClass Object
(
[id] => MLV429165018
[site_id] => MLV
[title] => Luces Hid Kit Xenon Light Altas Y Bajas Mecanizadas
[subtitle] =>
[seller] => stdClass Object
(
[id] => 34580665
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 2750
[currency_id] => VEF
[available_quantity] => 916
[sold_quantity] => 488
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-12-14T02:32:35.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429165018-luces-hid-kit-xenon-light-altas-y-bajas-mecanizadas-_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/1990-MLV36883561_3355-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 2750
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-A
[state_name] => Distrito Capital
[city_id] =>
[city_name] => caracas
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => custom
)

[seller_address] => stdClass Object
(
[id] => 65017529
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-A
[name] => Distrito Capital
)

[city] => stdClass Object
(
[id] =>
[name] => caracas
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV60200
)

[2] => stdClass Object
(
[id] => MLV427634357
[site_id] => MLV
[title] => Cubre Caliper Brembo
[subtitle] =>
[seller] => stdClass Object
(
[id] => 48995743
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 450
[currency_id] => VEF
[available_quantity] => 467
[sold_quantity] => 523
[buying_mode] => buy_it_now
[listing_type_id] => gold
[stop_time] => 2014-11-13T17:01:59.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-427634357-cubre-caliper-brembo-_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/13144-MLV20072646385_042014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 450
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-A
[state_name] => Distrito Capital
[city_id] =>
[city_name] => Montalban
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => custom
)

[seller_address] => stdClass Object
(
[id] => 55969996
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-A
[name] => Distrito Capital
)

[city] => stdClass Object
(
[id] =>
[name] => Montalban
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV22580
)

[3] => stdClass Object
(
[id] => MLV427624572
[site_id] => MLV
[title] => Luces Hid 55w H4, 9007, H13 8000k Philips
[subtitle] =>
[seller] => stdClass Object
(
[id] => 43591688
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 4800
[currency_id] => VEF
[available_quantity] => 37
[sold_quantity] => 121
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-11-13T04:15:38.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-427624572-luces-hid-55w-h4-9007-h13-8000k-philips-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/1817-MLV2595892725_042012-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 4800
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-I
[state_name] => Falcón
[city_id] => TUxWQ01JUjU5NTMyNA
[city_name] => Miranda (Coro)
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 125529742
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-I
[name] => Falcón
)

[city] => stdClass Object
(
[id] => TUxWQ01JUjU5NTMyNA
[name] => Miranda (Coro)
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV60200
)

[4] => stdClass Object
(
[id] => MLV427840046
[site_id] => MLV
[title] => Reproductor Pioneer Usb Mp3 Wma Fm 2013 Mvh 1050 Garantia
[subtitle] =>
[seller] => stdClass Object
(
[id] => 65432973
[power_seller_status] =>
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 3578
[currency_id] => VEF
[available_quantity] => 522
[sold_quantity] => 477
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-11-17T07:02:01.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-427840046-reproductor-pioneer-usb-mp3-wma-fm-2013-mvh-1050-garantia-_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/15276-MLV20098152674_052014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 3578
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-G
[state_name] => Carabobo
[city_id] =>
[city_name] => Valencia (Valencia)
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 79735801
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-G
[name] => Carabobo
)

[city] => stdClass Object
(
[id] =>
[name] => Valencia (Valencia)
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV8460
)

[5] => stdClass Object
(
[id] => MLV429050846
[site_id] => MLV
[title] => Forros De Asientos Para Su Auto. Elegantes A La Medida
[subtitle] =>
[seller] => stdClass Object
(
[id] => 94218915
[power_seller_status] => silver
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 5499
[currency_id] => VEF
[available_quantity] => 69
[sold_quantity] => 75
[buying_mode] => buy_it_now
[listing_type_id] => gold
[stop_time] => 2014-12-12T06:11:23.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429050846-forros-de-asientos-para-su-auto-elegantes-a-la-medida-_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/12962-MLV20068376019_032014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 5499
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-V
[state_name] => Zulia
[city_id] =>
[city_name] => Maracaibo
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 131727836
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-V
[name] => Zulia
)

[city] => stdClass Object
(
[id] =>
[name] => Maracaibo
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV7394
)

[6] => stdClass Object
(
[id] => MLV429666951
[site_id] => MLV
[title] => Luces Hid H4 Mecanizadas Altas Y Bajas (100% Originales)
[subtitle] =>
[seller] => stdClass Object
(
[id] => 75715802
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 2990
[currency_id] => VEF
[available_quantity] => 70
[sold_quantity] => 165
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-12-24T14:15:47.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429666951-luces-hid-h4-mecanizadas-altas-y-bajas-100-originales-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/2217-MLV4187001408_042013-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 2990
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-G
[state_name] => Carabobo
[city_id] =>
[city_name] => Valencia (Valencia)
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 55966030
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-G
[name] => Carabobo
)

[city] => stdClass Object
(
[id] =>
[name] => Valencia (Valencia)
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV60200
)

[7] => stdClass Object
(
[id] => MLV429617506
[site_id] => MLV
[title] => Forros De Asientos Nuevos Para Autos Envio Gratis!!!
[subtitle] =>
[seller] => stdClass Object
(
[id] => 142320680
[power_seller_status] =>
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 5800
[currency_id] => VEF
[available_quantity] => 16
[sold_quantity] => 85
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-12-23T12:26:46.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429617506-forros-de-asientos-nuevos-para-autos-envio-gratis-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/757-MLV4715179408_072013-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 5800
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-V
[state_name] => Zulia
[city_id] =>
[city_name] => Maracaibo
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => custom
)

[seller_address] => stdClass Object
(
[id] => 105729805
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-V
[name] => Zulia
)

[city] => stdClass Object
(
[id] =>
[name] => Maracaibo
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV7394
)

[8] => stdClass Object
(
[id] => MLV429872110
[site_id] => MLV
[title] => Kit Correa De Tiempo Aveo 1.6, Daewwo Nubira. Original Gm
[subtitle] =>
[seller] => stdClass Object
(
[id] => 46265799
[power_seller_status] => gold
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 5600
[currency_id] => VEF
[available_quantity] => 16
[sold_quantity] => 43
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-12-28T17:42:19.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429872110-kit-correa-de-tiempo-aveo-16-daewwo-nubira-original-gm-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/17342-MLV20136179103_072014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 5600
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-G
[state_name] => Carabobo
[city_id] =>
[city_name] => Velencia
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 131733809
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-G
[name] => Carabobo
)

[city] => stdClass Object
(
[id] =>
[name] => Velencia
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV91411
)

[9] => stdClass Object
(
[id] => MLV428708016
[site_id] => MLV
[title] => Gran Combo De Flowmaster Nacionales Para Motores V .. Cl
[subtitle] =>
[seller] => stdClass Object
(
[id] => 46532561
[power_seller_status] => gold
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 2600
[currency_id] => VEF
[available_quantity] => 51
[sold_quantity] => 65
[buying_mode] => buy_it_now
[listing_type_id] => gold
[stop_time] => 2014-12-05T02:43:27.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-428708016-gran-combo-de-flowmaster-nacionales-para-motores-v-cl-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/1803-MLV2892209009_072012-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 2600
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-V
[state_name] => Zulia
[city_id] =>
[city_name] => maracaibo
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 57033229
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-V
[name] => Zulia
)

[city] => stdClass Object
(
[id] =>
[name] => maracaibo
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV8692
)

[10] => stdClass Object
(
[id] => MLV429684104
[site_id] => MLV
[title] => Faro Cree Led 18w 3wx6 Waterproof Ip67 Policarbonato
[subtitle] =>
[seller] => stdClass Object
(
[id] => 18542532
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 2750
[currency_id] => VEF
[available_quantity] => 631
[sold_quantity] => 831
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-12-24T22:39:27.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-429684104-faro-cree-led-18w-3wx6-waterproof-ip67-policarbonato-_JM
[thumbnail] => http://mlv-s1-p.mlstatic.com/15431-MLV20103357354_052014-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 2750
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-M
[state_name] => Miranda
[city_id] =>
[city_name] => Caracas
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 84021326
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-M
[name] => Miranda
)

[city] => stdClass Object
(
[id] =>
[name] => Caracas
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV41039
)

[11] => stdClass Object
(
[id] => MLV428063203
[site_id] => MLV
[title] => Amortiguadores Monroe Gas Magnun Rancho Gabriel Kyb Pro Comp
[subtitle] =>
[seller] => stdClass Object
(
[id] => 2209562
[power_seller_status] => platinum
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 7499
[currency_id] => VEF
[available_quantity] => 79
[sold_quantity] => 79
[buying_mode] => buy_it_now
[listing_type_id] => gold_premium
[stop_time] => 2014-11-22T01:21:46.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-428063203-amortiguadores-monroe-gas-magnun-rancho-gabriel-kyb-pro-comp-_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/1976-MLV35393888_4391-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 7499
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-M
[state_name] => Miranda
[city_id] =>
[city_name] => caracas
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 100573422
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-M
[name] => Miranda
)

[city] => stdClass Object
(
[id] =>
[name] => caracas
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV7916
)

[12] => stdClass Object
(
[id] => MLV428707958
[site_id] => MLV
[title] => // H // Flow 40 Flowmaster Nacionales Serie 40 ....
[subtitle] =>
[seller] => stdClass Object
(
[id] => 46532561
[power_seller_status] => gold
[car_dealer] =>
[real_estate_agency] =>
)

[price] => 1000
[currency_id] => VEF
[available_quantity] => 77
[sold_quantity] => 203
[buying_mode] => buy_it_now
[listing_type_id] => gold
[stop_time] => 2014-12-05T02:42:49.000Z
[condition] => new
[permalink] => http://articulo.mercadolibre.com.ve/MLV-428707958--h-flow-40-flowmaster-nacionales-serie-40--_JM
[thumbnail] => http://mlv-s2-p.mlstatic.com/2409-MLV8560059_8676-I.jpg
[accepts_mercadopago] => 1
[installments] => stdClass Object
(
[quantity] => 1
[amount] => 1000
[currency_id] => VEF
)

[address] => stdClass Object
(
[state_id] => VE-V
[state_name] => Zulia
[city_id] =>
[city_name] => maracaibo
)

[shipping] => stdClass Object
(
[free_shipping] =>
[mode] => not_specified
)

[seller_address] => stdClass Object
(
[id] => 57033229
[comment] =>
[address_line] =>
[zip_code] =>
[country] => stdClass Object
(
[id] => VE
[name] => Venezuela
)

[state] => stdClass Object
(
[id] => VE-V
[name] => Zulia
)

[city] => stdClass Object
(
[id] =>
[name] => maracaibo
)

[latitude] =>
[longitude] =>
)

[attributes] => Array
(
)

[original_price] =>
[category_id] => MLV8692
)

 

...

 

[3] => stdClass Object
(
[id] => accepts_mercadopago
[name] => Filtro por MercadoPago
[type] => boolean
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => Con MercadoPago
[results] => 403900
)

)

)

[4] => stdClass Object
(
[id] => installments
[name] => Pago
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => En cuotas
[results] => 360161
)

)

)

[5] => stdClass Object
(
[id] => condition
[name] => Filtro por condición
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => new
[name] => Nuevo
[results] => 315595
)

[1] => stdClass Object
(
[id] => used
[name] => Usado
[results] => 98910
)

)

)

[6] => stdClass Object
(
[id] => shipping
[name] => Envío
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => free
[name] => Envío gratis
[results] => 5949
)

)

)

[7] => stdClass Object
(
[id] => power_seller
[name] => Filtro por calidad de vendedores
[type] => boolean
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => Mejores vendedores
[results] => 73117
)

)

)

[8] => stdClass Object
(
[id] => buying_mode
[name] => Filtro por tipo de venta
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => buy_it_now
[name] => Compra inmediata
[results] => 415715
)

[1] => stdClass Object
(
[id] => auction
[name] => Subasta
[results] => 305
)

)

)

[9] => stdClass Object
(
[id] => since
[name] => Filtro por fecha de comienzo
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => today
[name] => Comienzan hoy
[results] => 18696
)

)

)

[10] => stdClass Object
(
[id] => until
[name] => Filtro por fecha de finalización
[type] => text
[values] => Array
(
[0] => stdClass Object
(
[id] => today
[name] => Finalizan hoy
[results] => 6371
)

)

)

[11] => stdClass Object
(
[id] => has_video
[name] => Filtro por publicaciones con video
[type] => boolean
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => Publicaciones con video
[results] => 3291
)

)

)

[12] => stdClass Object
(
[id] => official_store
[name] => Filtro por publicaciones de tiendas oficiales
[type] => boolean
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => Tienda oficial
[results] => 5
)

)

)

[13] => stdClass Object
(
[id] => has_pictures
[name] => Filtro por publicaciones con imágenes
[type] => boolean
[values] => Array
(
[0] => stdClass Object
(
[id] => yes
[name] => Con fotos
[results] => 411905
)

)

)

)

)

[httpCode] => 200
)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now