powered by
Once logged in, get basic details about the user account.
userdetails(api_key = getOption('sm_api_key'), oauth_token = getOption('sm_oauth_token'))
Your API key. By default, retrieved from getOption('sm_api_key').
getOption('sm_api_key')
Your OAuth 2.0 token, as generated by smlogin. By default, retrieved from getOption('sm_oauth_token').
smlogin
getOption('sm_oauth_token')
An object of class sm_userdetails.
sm_userdetails
This function retrieves basic details about a user. It can be used as a hello world test after smlogin.
https://developer.surveymonkey.com/mashery/get_user_details
# NOT RUN { smlogin() userdetails() # }
Run the code above in your browser using DataLab