From 2704a8b69506d7b0c57edc78ec211436caef32a6 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 27 Jan 2016 09:25:21 -0500 Subject: [PATCH] groups and mobile reports gam report groups gam report mobile (always blank?) --- src/gam.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/gam.py b/src/gam.py index bee07f46..27450310 100755 --- a/src/gam.py +++ b/src/gam.py @@ -1079,7 +1079,13 @@ def showReport(): for app in auth_apps: # put apps at bottom cust_attributes.append(app) output_csv(csv_list=cust_attributes, titles=titles, list_type=u'Customer Report - %s' % try_date, todrive=to_drive) - elif report in [u'doc', u'docs', u'calendar', u'calendars', u'login', u'logins', u'admin', u'drive', u'token', u'tokens']: + elif report in [u'doc', u'docs', u'drive', + u'calendar', u'calendars', + u'login', u'logins', + u'admin', + u'token', u'tokens', + u'group', u'groups', + u'mobile']: if report in [u'doc', u'docs']: report = u'drive' elif report in [u'calendars']: @@ -1088,6 +1094,8 @@ def showReport(): report = u'login' elif report == u'tokens': report = u'token' + elif report == u'group': + report = u'groups' page_message = u'Got %%num_items%% items\n' activities = callGAPIpages(rep.activities(), u'list', u'items', page_message=page_message, applicationName=report, userKey=userKey, customerId=customerId, actorIpAddress=actorIpAddress,