Description Usage Arguments Value
Get user information.
1 2 3 4 5 6 | get_user_information(
self = FALSE,
private_information = TRUE,
user_id = NULL,
authorization = NULL
)
|
self |
TRUE if retrieving information about your user; FALSE otherwise. Defaults to FALSE. |
private_information |
Required if self is FALSE. TRUE if retrieving private information from another user; FALSE otherwise. Defaults to FALSE. |
user_id |
Required if self is FALSE. user_id of user to look up. Use mercadolibreR::get_user_id() if you only have access to the user's nickname and site_id. |
authorization |
Required if self is TRUE or if private_information is TRUE. If self is TRUE, should be your access token. If private_information is TRUE, should be the access token for the user from which to retrieve information. See the API authentication and authorization guide for more details. |
Returns a list of information about the user. 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.