get_user_information: Get user information.

Description Usage Arguments Value

View source: R/users.R

Description

Get user information.

Usage

1
2
3
4
5
6
get_user_information(
  self = FALSE,
  private_information = TRUE,
  user_id = NULL,
  authorization = NULL
)

Arguments

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.

Value

Returns a list of information about the user. See the API documentation for more information.


njcorona/mercadolibreR documentation built on July 19, 2020, 3:21 p.m.