4

In the Google Classroom API, I can't find an API that returns the comments students post on teacher announcements.

CourseWorkSubmissions only return submissions of Assignments and Questions.

Is there any Google Classroom API that returns comments on teacher announcements?

viam0Zah
  • 25,949
  • 8
  • 77
  • 100
  • I think its a limitation of the Classroom API. Since you cannot find any comment related field in the [Resource: Announcement](https://developers.google.com/classroom/reference/rest/v1/courses.announcements#resource-announcement) response body specified. – MαπμQμαπkγVπ.0 Apr 24 '19 at 10:02
  • I am looking for this too, not answer from google yet. – Diego Jul 02 '20 at 16:44
  • Did you find out anything? – viam0Zah May 12 '22 at 20:32
  • The same question exists in Google support, unanswered yet however: https://support.google.com/edu/classroom/thread/48137272?hl=en – viam0Zah May 12 '22 at 20:34
  • If Google doesn't have an official API for this, you might want to try and find it yourself. When you visit the website with the comments, press F12 in your browser and switch to "Network", then reload the comments(/website) and there you can see every site that has been called. Maybe there is an API you can utilize. Google's stuff is pretty hardened, so even if you know which API to call it might be difficult to get it to work actually. – jonii May 12 '22 at 20:37
  • @jonii Google's responses in general are awful, but [Google Classroom's API is even worse](https://pastebin.com/B9mGNGSV). – TheTechRobo the Nerd May 20 '22 at 00:37

0 Answers0