The Google Classroom API (with the google-php-api-client) allows a web application to create courses, and enroll Students in that course. However, the Google Classroom web site, under the Students tab, has a select with the following options:
From the post and comment list, choose a permission level:
Students can post and comment
Students can only comment
Only teacher can post or comment
How can I set this post permission with the Google Classroom API?
I think this kind of option is not executable with the Classroom API itself. As of now, you need to manually set up this in the Google Classroom website itself.
If you check the Google Classroom API documentation reference, there is no method or request that is specific for the students permission or can do these things involving the students.
I found here a related topic that asking about permission setting through API. The only workaround of the user that ask this question is by manually set the permissions with the Google Classroom UI and not through the API.
For more information, check this Manage Teachers and Students part of the documentation.
Related
I'm really confused on how I adapt my existing web application to work with Google Classroom. I currently have a local authentication system for teachers and students, but how does a teacher or school connect their Google Classroom authentication to mine? How do I test that authentication, and test the API access to the student lists. I feel like I'm missing something fundamental in my understanding of how Google Classroom works, but I also can't find any documentation on "How to bring your app to Google Classroom".
I don't access Google Classroom through Web platform but I was able to communicate with the Classroom API in this open-source Android application : Classroom Client.
You claim you already an authenticating system, like I don't know how that works but all you just have to do is get a Client ID as stated here.
Once authorized you can execute various API calls supported by the API, there is a reference here
I am developing a chat application to provide information on users in our organization.
My question is there any way to access someone's calendar without their inference?
if there is a way how to do it?
Writing it as an answer so it's more clear. In case of public Calendars, you still need the owner to give edit permissions to you in order to make changes in the Calendar, like creating events.
For a more complete explanation: Share your calendar with someone
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. Thanks!
https://imgur.com/a/zySH228
(I need 10 reputation to post pictures .-. so here's the link)
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.
I am new for Google Classroom API integration and want to confirm following queries can anyone please answer for my questions for my confirmation.
1- Classroom API is available only available for Google Apps for Education users not for the Gmail users just want to confirm this again.
2- Classroom API to get list of courses is only for student account not for the Teachers because I am getting empty value by using Teachers account.
Please reply me for above queries.
Thanks
Yes, Classroom (and the Classroom API) is only available to Google Apps for Education users.
If the teacher can see classes on https://classroom.google.com/ (not just classes they're "invited to teach") then they should also be able to see them via https://developers.google.com/classroom/reference/rest/v1/courses/list.
As of March 2017, Google Classroom is now open to users without G Suite for Education accounts. It works with Gmail accounts. It's not currently available for G Suite (Google Apps) accounts that are not G Suite for Education.
See mjs's answer.
Presently i am working on Google Classroom API to integrate Google Classroom to my .net web application.I am able to store courses details,teachers and students in each course in my SQL server database but i am unable to store Assignment and assessments related data given by teacher and students marks and no.of students did assignments in time in my Database.How can i achieve this
Your small answer will help us a a lot
The Google Classroom API currently doesn't provide access to assignment data. You can follow feature request #3887 to get updated when this feature is added.