Pulls student and faculty contact information out of ArgoNet and uses it to create a contact list in Google. That address book is then pushed to iPads which are being held by each division office. These contact lists act as emergency contacts in the event that the internet is unreachable. The account emergencycontacts@rutgersprep.org stores the generated contacts.
Google Apps Script
Run the function goContacts() from the account to which you would like the contacts attached.
Head of School
Once a Day between 2AM and 3AM. The account that triggers the scheduled execution is emergencycontacts@rutgersprep.org.
A Google Account is required to trigger the script, however, this script accesses Blackbaud’s SKY API and thus needs a Blackbaud account for access to that information.
When Authenticating in Blackbaud you will need a user that has access to the three endpoints listed below.
A minimal access set of roles for a user that could run this script would be:
Academic Group Manager - API Only
Contact Card Manager - API Only
Sky API Data Sync
In the scheduled instance:
emergencycontacts@rutgersprep.org is the google account that runs the script itself.
“Emergency Contact Sync” is the blackbaud account used for API authentication. Username: emergencycontacts@rutgersprep.org. This user authenticates against Azure.
Authentication for SKY API is saved so that the user does not need to re-authenticate each time the script is run.
nardulli@rutgersprep.org
emergencycontacts@rutgersprep.org
OAuth2
Script ID: 1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF
Ver. 41 at time of writing.
More Info: https://github.com/googleworkspace/apps-script-oauth2
People (Google Service)
Ver. 1 at time of writing.
Users extended by role(s)
Users emergency contacts by user ID
Academics student enrollment list
None