Learn R Programming

Rmonkey (version 0.3.1)

userdetails: Get User Details

Description

Once logged in, get basic details about the user account.

Usage

userdetails(api_key = getOption('sm_api_key'), oauth_token = getOption('sm_oauth_token'), ...)

Arguments

api_key
Your API key. By default, retrieved from getOption('sm_api_key').
oauth_token
Your OAuth 2.0 token, as generated by smlogin. By default, retrieved from getOption('sm_oauth_token').
...
Other arguments passed to POST.

Value

sm_userdetails.

Details

This function retrieves basic details about a user. It can be used as a hello world test after smlogin.

References

https://developer.surveymonkey.com/mashery/get_user_details

Examples

Run this code
## Not run: 
# smlogin()
# userdetails()
# ## End(Not run)

Run the code above in your browser using DataLab