gm_profile | R Documentation |
Reveals information about the profile associated with the current token.
gm_profile(user_id = "me", verbose = TRUE)
user_id |
gmail user_id to access, special value of 'me' indicates the authenticated user. |
verbose |
Logical, indicating whether to print informative messages
(default |
A list of class gmail_profile
.
Wraps the getProfile
endpoint:
## Not run:
gm_profile()
## more info is returned than is printed
prof <- gm_profile()
prof[["historyId"]]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.