Catalog · How the catalog works
Mercadolivre4D
- ★ 4 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
</a>
MercadoLivre4D
This is the Delphi Framework for the Mercado Livre platform.
Requirements
Building the API client library requires:
Installation
To install the API client library to your local repository, simply execute:
boss installUsage
var
_Mercadolivre4D : iMercadolivre4D;
AuthURL : String;
implementation
const
ClientId = '123456789';
ClientSecret = 'abc123';
Code = 'TAP-1324';
RedirectUri = 'http://localhost/redirect';
APP_ID = '987654321';
initialization
_Mercadolivre4D := TMercadolivre4D.New;
_Mercadolivre4D
.Configuration
.ClientId(ClientId)
.ClientSecret(ClientSecret)
.Code(Code)
.RedirectUri(RedirectUri)
.APP_ID(APP_ID);
end.The AuthURL variable will give you the url to redirect the user. You need to specify a callback url that will be redirected to the user after a successful authorization process.
Once the user is redirected to the callback url, you will receive a parameter named code in the query string. You will need this for authentication.
Documentation & Important notes
The URIs are relative to https://api.mercadolivre.com
The Authorization URLs (set the correct country domain):
- "https://auth.mercadolibre.com.ar"
- "https://auth.mercadolivre.com.br"
- "https://auth.mercadolibre.com.co"
- "https://auth.mercadolibre.com.mx"
- "https://auth.mercadolibre.com.uy"
- "https://auth.mercadolibre.cl"
- "https://auth.mercadolibre.com.cr"
- "https://auth.mercadolibre.com.ec"
- "https://auth.mercadolibre.com.ve"
- "https://auth.mercadolibre.com.pa"
- "https://auth.mercadolibre.com.pe"
- "https://auth.mercadolibre.com.do"
- "https://auth.mercadolibre.com.bo"
- "https://auth.mercadolibre.com.py"


