Problem listing assignments of a student in Google Classroom
问题 I am starting to use Classroom API to enhance local apps in our school. In order to make a report for a class, I want to list all student assignments and gradings. I use loops to go through all courses for a student, then all coursework for every course, and then all submissions for every coursework. Here is the piece of code that I use: function fListWorkStudent(idStudent) { // Variables var pageToken = null; var optionalArgs = { pageToken: pageToken, courseStates: 'ACTIVE', studentId: