All URIs are relative to https://api.mercadolibre.com
Method | HTTP request | Description |
---|---|---|
CategoriesCategoryIdGet | GET /categories/{category_id} | Return by category. |
SitesSiteIdCategoriesGet | GET /sites/{site_id}/categories | Return a categories by site. |
SitesSiteIdDomainDiscoverySearchGet | GET /sites/{site_id}/domain_discovery/search | Predictor |
void CategoriesCategoryIdGet (string categoryId)
Return by category.
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class CategoriesCategoryIdGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new CategoriesApi(config);
var categoryId = categoryId_example; // string |
try
{
// Return by category.
apiInstance.CategoriesCategoryIdGet(categoryId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CategoriesApi.CategoriesCategoryIdGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
categoryId | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void SitesSiteIdCategoriesGet (string siteId)
Return a categories by site.
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class SitesSiteIdCategoriesGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new CategoriesApi(config);
var siteId = siteId_example; // string |
try
{
// Return a categories by site.
apiInstance.SitesSiteIdCategoriesGet(siteId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CategoriesApi.SitesSiteIdCategoriesGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
siteId | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void SitesSiteIdDomainDiscoverySearchGet (string siteId, string q, string limit)
Predictor
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class SitesSiteIdDomainDiscoverySearchGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new CategoriesApi(config);
var siteId = siteId_example; // string |
var q = q_example; // string |
var limit = limit_example; // string |
try
{
// Predictor
apiInstance.SitesSiteIdDomainDiscoverySearchGet(siteId, q, limit);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CategoriesApi.SitesSiteIdDomainDiscoverySearchGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
siteId | string | ||
q | string | ||
limit | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]