google-classroom

How to access all "assigned" with google classroom API


I'm new to the Google Classroom API, and would like to clarify if it is possible to access work from the "assigned" tab, or if possible, all the tabs in the image below. I'm using JavaScript btw.


Solution

  • In Google Classroom courseWork is always in the context of some course. So to get courseWork from all courses you will have to iterate through all the courses that the student has access to and for each course use this API- developers.google.com/classroom/reference/rest/v1/…. This API will give all Published assignment for that class for the student.