Posts

Showing posts with the label GAM

Subscribe Google Apps users to calendars using GAM and python

If you want to subscribe a Google App user to calendar, you can use GAM and python. This following script my get you started: Note: You have to have GAM up and running before running this script.

Get Google Group members using GAM and python

You can get a list of Google Groups members using GAM by running this following command: gam print group-members group <group_email> The results is a csv-style list of group members: status,group,email,role,type,id ACTIVE,<group_email>,<user_email>,MEMBER,USER,110853351795805057050 ... You can take advantage of python to filter the result and put all the user email addresses into a list: Note: before using the python script, you have to make sure your GAM installation is up and running.