r/GoogleAppsScript • u/328345 • Sep 25 '20
Question Pull Google classroom information for domain.
Do any of you clever individuals have any code for GAS that will pull information about Google classroom into a sheet. Class name, pupil, assignment name, and then the status of that assignment for each pupil (completed, not done, handed in late or even their grade)?
Would love to be able to pull this into data studio for reporting for my school
2
u/gh5000 Sep 25 '20
This video will walk you through the first part then if you know GAS you might be able to work out the second part
Note that to have API access to the the classroom assignments you need to be a teacher of the class. G Suite Admins can access names and teacher/student lists of each classroom. And I know from experience they can't assign work if they aren't a teacher. Don't know if admins can read data on assignments without being a teacher.
1
2
u/okburner11 Sep 25 '20
Yes, the Classroom api can easily do this. You will have to figure out how to use apis with gas, but if you have been working with apps script for a while and get the basics behind apis then the reference will take you a long way. I would say I could help, but I have no data to test this on and I think creating a mock classroom environment is hard outside of a school.