show|print gmailprofile|gplusprofile not working in 4.2?

410 views
Skip to first unread message

Ian Crew

unread,
Mar 25, 2017, 8:22:29 AM3/25/17
to 'Jordan Tinsley' via GAM for G Suite
Hi all:

Ran into a little snag with 4.2 when trying to get a user’s Gmail and G+ profiles.  It seems that the “print” variants don’t work, and the “show” variants display the CSV output that I’d normally expect from the “print” variants:

$ gam user us...@example.com print gplusprofile
ERROR: gplusprofile is not a valid argument for "gam <users> print"

$ gam user us...@example.com show gplusprofile
Getting Gplus profile for us...@example.com
id,circledByCount,displayName,image.isDefault,image.url,isPlusUser,name.familyName,name.givenName,objectType,verified

$ gam user us...@example.com print gmailprofile
ERROR: gmailprofile is not a valid argument for "gam <users> print"

$ gam user us...@example.com show gmailprofile
Getting Gmail profile for us...@example.com
emailAddress,historyId,messagesTotal,threadsTotal
us...@example.com,25318,394,381

Or am I missing something?

Thanks!

Ian

___
Ian Crew

IST-Architecture, Platforms and Integration (API)
Earl Warren Hall, Second Floor
University of California, Berkeley

Ross Scroggs

unread,
Mar 25, 2017, 10:38:15 AM3/25/17
to google-ap...@googlegroups.com
Ian,

Those two commands are not consistent with most other Gam print/show commands.
There is no show formatted output option, as you've noted, the show option behaves like print.
My advanced GAM offers print/show options for gmailprofile/gplusprofile: https://github.com/taers232c/GAMADV-X

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/FE3385B0-1269-4172-91C7-B65FD20097A3%40berkeley.edu.
For more options, visit https://groups.google.com/d/optout.

Ian Crew

unread,
Mar 25, 2017, 11:37:43 AM3/25/17
to 'Jordan Tinsley' via GAM for G Suite
Got it, thanks Ross. I’ll try to get around to fixing that in the Wiki soon.  (The Wiki says those commands are consistent…)

Cheers,

Ian


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages