Search the Community

Showing results for tags 'delphi'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Português
    • Autenticação e Autorização
    • Gerenciamento de perguntas e respostas
    • Gerenciamento de produtos
    • Gerenciamento de vendas
    • Gerenciamento de envios
    • Gerenciamento de usuário
    • Controle de notificações
    • Gerenciamento de mensagens pós-venda
  • Español
    • Autenticación y Autorización
    • Gestión de preguntas y respuestas
    • Gestión de productos
    • Gestión de ventas
    • Gestión de envíos
    • Gestión de usuario
    • Control de notificaciones
    • Gestión de mensajes post-venta
  • English
    • Authentication and Authorization
    • Question & Answer Management
    • Product Management
    • Sales Management
    • Shipment Management
    • User Management
    • Notification control
    • Post Sale Message Management
  • Off Topic
    • Events
    • Off Topic
    • Documentation improvements
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 4 results

  1. Linces Marques

    Aplicações ISAPI

    Olá, Pessoal, algum de vcs aqui que tenha desenvolvido aplicações isapi pro ML? Estou com problemas no fluxo de autorização...
  2. Preciso de uma aplicação em delphi que salve os produtos e pedidos do mercado livre em uma base (preferencialmente mysql) para que eu possa acessar através de meu programa e lançar os pedidos automaticamente.
  3. Olá, Estou fazendo uma requisição para listar as categorias no Mercado Livre em Delphi usando os componentes do RESTClient. O problema ocorre quando eu vou receber a resposta do GET; Ela vem como um código HTML. <!DOCTYPE html><!--if lt IE 7 ]><html class="ie ie6" lang="en">--><!--if IE 7 ]><html class="ie ie7" lang="en">--><!--if IE 8 ]><html class="ie ie8" lang="en">--><!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--><head><meta charset="utf-8"><title>Countries</title><meta name="description" content="Retrieves countries information"><meta name="author" content="MercadoLibre"><link rel="stylesheet" href="/apidoc/assets/css/pygments.css"><link rel="stylesheet" href="/apidoc/assets/css/api_options.css"></head><body><div class="content"><h1>Countries</h1><h2>Retrieves countries information</h2><nav class="tabs"><ul><li><a tabindex="1" href="#json">Results</a></li><li><a tabindex="2" href="#options">API Documentation</a></li></ul></nav><div class="tabcontents"><section id="json"><p class="expand-controls"><a id="collapse-all">collapse all</a><a id="expand-all">expand all</a></p><div class="highlight"><pre> <span class="p">[<span class="collapsible"> <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/AR">"AR"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Argentina"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_AR"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/ARS">"ARS"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/BO">"BO"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Bolivia"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_BO"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/BOB">"BOB"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/BR">"BR"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Brasil"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"pt_BR"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/BRL">"BRL"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/CL">"CL"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Chile"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_CL"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/CLP">"CLP"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/CN">"CN"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"China"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"zh_CN"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/CNY">"CNY"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/CO">"CO"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Colombia"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_CO"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/COP">"COP"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/CR">"CR"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Costa Rica"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_CR"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/CRC">"CRC"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/CBT">"CBT"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Cross Border Trade"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_AR"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/ARS">"ARS"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/EC">"EC"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Ecuador"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_EC"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/USD">"USD"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/SV">"SV"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"El Salvador"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_SV"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/USD">"USD"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/GT">"GT"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Guatemala"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_GT"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/GTQ">"GTQ"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/HN">"HN"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Honduras"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_HN"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/HNL">"HNL"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/MX">"MX"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Mexico"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_MX"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/MXN">"MXN"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/NI">"NI"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Nicaragua"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_NI"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/NIO">"NIO"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/PA">"PA"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Panamá"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_PA"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/USD">"USD"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/PY">"PY"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Paraguay"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_PY"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/PYG">"PYG"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/PE">"PE"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Peru"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_PE"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/PEN">"PEN"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/PT">"PT"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Portugal"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"pt_PT"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/EUR">"EUR"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/PR">"PR"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Puerto Rico"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_PR"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/USD">"USD"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/GB">"GB"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Reino Unido"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"en_GB"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/GBP">"GBP"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/DO">"DO"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"República Dominicana"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_DO"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/DOP">"DOP"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/UY">"UY"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Uruguay"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_UY"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/UYU">"UYU"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/VE">"VE"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Venezuela"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_VE"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/VEF">"VEF"</a></span> </span>}</span>, <span class="p">{<span class="collapsible"> <span class="nt">"id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/classified_locations/countries/COL">"COL"</a></span>, <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"newCOL"</span>, <span class="nt">"locale"</span><span class="p">:</span> <span class="s2">"es_COL"</span>, <span class="nt">"currency_id"</span><span class="p">:</span> <span class="s2"><a class="navigation-link" href="/currencies/COLS">"COLS"</a></span> </span>}</span> </span>]</span></pre></div></section><section id="options"><dl class="glossary"><dt class="collapsable">Allowed methods</dt><dd><dl> <dd>Retrieves countries information</dd><dd><dl><dt>GET</dt><dd>/classified_locations/countries</dd></dl></dd></dl></dd><dt class="collapsable">Attributes</dt><dd><dl><dt class="attribute">currency_id</dt><dd>Currency ID</dd><dt class="attribute">id</dt><dd>Country ID</dd><dt class="attribute">locale</dt><dd>Language ID</dd><dt class="attribute">name</dt><dd>Country name</dd></dl></dd><dt class="collapsable">Related resources</dt><dd><dl><dd>currencies</dd><dd>countries</dd></dl></dd></dl></section></div></div><footer>Copyright &copy; 2018 - MercadoLibre</footer><script src="/apidoc/assets/js/api_options.js"></script><script src="/apidoc/assets/js/require-jquery.js"></script><script>var collapseAll = $('.highlight pre span:first').html()[0]=='{'; $('.collapsible:not(:first)').each(function(index, e) { var e = $(e); if(e.children().length > 0) { var expander = $('<a class="expander"></a>'); expander.click(function() { e.trigger('expand'); }); e.before(expander); var collapser = $('<a class="collapser"></a>'); collapser.click(function() { e.trigger('collapse'); }); e.parent().prepend(collapser); e.on('collapse', null, null, function() { collapser.hide(); expander.show(); $(this).hide(); return false; }); e.on('expand', null, null, function() { expander.hide(); collapser.show(); $(this).show(); return false; }); if(collapseAll) { e.trigger('collapse'); } else { e.trigger('expand'); } } }); $(document).ready(function() { if(collapseAll) { $('#expand-all').css("display","inline-block"); $('#collapse-all').css("display","none"); } else { $('#collapse-all').css("display","inline-block"); $('#expand-all').css("display","none"); } $('#collapse-all').click(function() { $('.collapsible:not(:first)').trigger('collapse'); $(this).css("display","none"); $('#expand-all').css("display","inline-block"); }); $('#expand-all').click(function() { $('.collapsible:not(:first)').trigger('expand'); $(this).css("display","none"); $('#collapse-all').css("display","inline-block"); }); $(".collapsable").each (function (index, e) { var content; var next = e.nextSibling; while (next) { var dl = next.querySelector("dl"); if (next.tagName == "DD" && dl) { content = dl; content.parentElement.insertBefore(document.createTextNode("\u00a0"), content); break; } next = next.nextSibling; } if (content) { e.content = content; } $(e).on ("click", function () { $(this).toggleClass("collapsed"); $(this.content).toggleClass("hidden"); }); }); }); </script></body><!-- </html>--> Já setei todas as propriedades do RESTClient, RESTRequest e RESTResponse para retornar 'application/json'. mesmo assim ela só retorna a resposta acima.
  4. Olá pessoal tudo bem? Estou desenvolvimento uma integração utilizando o Delphi como linguagem, estou tentando publicar um primeiro item. Já gerei o Access Token, já consegui consumir o post para criar um usuário de teste, porém ao tentar publicar um produto estou tendo o retorno: HTTP/1.1 403 Forbidden Tenho a impressão de ser algo relacionado a permissão, porém verfiquei que estou com as seguintes permissões: Read, Offline Access e Write Estou enviando o meu item desta forma: Json := '{'+ '"title":"Item de teste - Nao Ofertar",'+ '"category_id": "MLB3530",'+ '"price":1,'+ '"currency_id":"BRL",'+ '"available_quantity":1,'+ '"buying_mode":"buy_it_now",'+ '"listing_type_id":"gold_special",'+ '"condition":"new",'+ '"description": "Item de test - No Ofertar",'+ '"video_id": "YOUTUBE_ID_HERE",'+ '"warranty": "12 months",'+ '"pictures":['+ '{"source":"http://mlb-s2-p.mlstatic.com/976752-MLB26236865495_102017-I.jpg"}'+ ']'+ '}'; JsonToSend := TStringStream.Create( UTF8Encode(Json) ); Response := TStringStream.Create(''); IdHTTPMercadoLivre := TIdHTTP.create(nil); try IdHTTPMercadoLivre.Request.ContentType := 'application/json'; IdHTTPMercadoLivre.Request.Method := 'POST'; IdHTTPMercadoLivre.Post('https://api.mercadolibre.com/items?access_token=APP_USR-6851505103268247-102506-9bf0a1a3b3f7371eafaaa1ef0a6f15a8__I_H__-279710442', JsonToSend, Response); Memo1.Lines.Text := Response.DataString; except on E: EIdHTTPProtocolException do begin Memo1.Lines.Text := E.ClassName + ': '+E.Message; end; Será que alguém já passou por isso? Muito obrigado galera!