account {imguR} | R Documentation |
Retrieve user account details
Description
Retrieve details of a user's account
Usage
account(account = 'me', ...)
account_verified(...)
send_verification(...)
Arguments
account |
A username, by default the current user (if |
... |
Other arguments passed to HTTP request functions, for example: |
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.
Value
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)
[Package imguR version 1.0.3 Index]