Description Usage Arguments Value
View source: R/items_and_search.R
Get items listed under a given category.
1 | get_category_items(site_id, category_id, offset = 0, sort = 0)
|
site_id |
Required. site_id of the country of interest. See mercadolibreR::get_site_ids() for valid site_ids. |
category_id |
Required. category_id of the category of interest. See mercadolibreR::get_categories() for valid category_ids. |
offset |
Optional. Default is zero. Maximum is 1000. Starting point from which to return records. For example, to receive the 51st to 100th records, offset = 50. |
sort |
Optional. Default is zero. How to sort results. 0 = by relevance; 1 = by price, ascending; 2 = by price, descending. |
Returns a list() of information associated with fifty items listed under the given category. Fields include sold_quantity, available_quantity, title, permalink, tags, seller, etc. See the API documentation for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.