account function

Retrieve user account details

Retrieve user account details

Retrieve details of a user's account

account(account = 'me', ...) account_verified(...) send_verification(...)

Arguments

  • account: A username, by default the current user (if token is supplied). account_verified and send_verification require a token argument.
  • ...: Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

account returns basic details of a user account. account_verified indicates whether one's user account has been email-verified. send_verification sends a verification email to the user's email account.

Returns

An object of class imgur_account .

Author(s)

Thomas J. Leeper

Examples

## Not run: # get account details for a user account account('thosjleeper') # check account verification tkn <- imgur_login() if(!account_verified(token = tkn)) send_verification(token = tkn) account(token = tkn) ## End(Not run)
  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29