Retrieves the profile information of the currently authenticated user.
Arguments
- credentials
An
ApiCredentialsobject fromapi_login().
See also
api_login() to retrieve credentials.
api_user_update_profile() to update profile information.
Examples
if (FALSE) { # \dontrun{
creds <- api_login("https://api.example.com", "user@example.com", "password")
api_user_profile(creds)
} # }