Learn R Programming

rdrop2 (version 0.6)

drop_acc: Dropbox account information

Description

Retrieves information about the user's account. Returns the following fields: referral_link, display_name, uid, locale, email_verified, quota_info.datastores, quota_info.shared, quota_info.quota, quota_info.normal, is_paired, country, name_details.familiar_name, name_details.surname, name_details.given_name, email

Usage

drop_acc(dtoken = get_dropbox_token(), verbose = FALSE)

Arguments

dtoken
The Dropbox token generated by drop_auth. rdrop2 will try to automatically locate your local credential cache and use them. However, if the credentials are not found, the function will initiate a new auth
verbose
By default verbose output is FALSE. Set to TRUE if you need to troubleshoot any output or grab additional parameters.

Examples

Run this code
drop_acc()
# Select name and UID
drop_acc() %>% select(uid, display_name, quota_info.normal)

Run the code above in your browser using DataLab