Questions tagged [google-classroom]

Classroom helps teachers create & organize assignments quickly, provide feedback efficiently & communicate with their classes. DO NOT post questions about the usage or the features of this product if they aren't directly related to programming.

Google Classroom is a cloud-based service and offers a Rest API.

The Google Classroom API can be used with Go, the Google Apps Script, Java, .NET, Node.js, PHP, Python, Ruby, iOS, and Android platforms, libraries, and programming languages.

Using the API you are able to Manage Coursework and submissions as well as the Google Classroom platform from both the User and Teacher's end.

Ask questions with the tag .

628 questions
4
votes
1 answer

Code: 403 Message: The caller does not have permission

I'm using the Google Classroom API to integrate my business system into Google Classroom. I can create and list courses using a service account. But always using the OwnerId = "me". All the courses that I'm creating are with the client_id of my…
3
votes
1 answer

Give access for service account to google accounts in classroom

I want to get access to classroom records from my server application. I have created a service account, but I can't get records from classroom created from my google account. How i can get access? Thanks
3
votes
1 answer

Get Google Classroom Meet Links

How to get "Google Classroom Meet Links", Has anyone found a way to pull this info from the API or vs. ? I can get class codes, teacher emails, and links but can't reach classroom meet links.
3
votes
1 answer

Google Classroom Share button not working suddenly

We integrated the Google Classroom Share button per these docs - https://developers.google.com/classroom/guides/sharebutton - back in Apr. Today we noticed it was not working, and saw these errors in the JavaScript console. Googling for…
chrismo
  • 101
  • 1
  • 6
3
votes
1 answer

How does the Google Service Client (PHP) method documentation work?

I have consistent difficulty using any client service method that is not explicitly exampled somewhere. Despite following the docs and even reading the sourcecode, The class or method names I come up with following the scheme are never right. The…
Evan
  • 419
  • 4
  • 14
3
votes
4 answers

java.io.FileNotFoundException: Resource not found: /credentials.json on Java QuickStart for Classroom API

I have implemented the Java QuickStart for the Classroom API and am getting an error message "java.io.FileNotFoundException: Resource not found: /credentials.json" at run-time. I copied my credentials.json file to the Project res directory, but…
Carl Jack
  • 31
  • 1
  • 2
3
votes
1 answer

Google Classroom API - PERMISSION DENIED

This is my first approach to Google Classroom API. I'm trying to create a script that list the Owner's email of every course. I thought of doing it by modifying the Quickstart "listCourses()" example, but when trying to get the user profile with…
3
votes
1 answer

How to set correct timezone for Google Classroom coursework

When creating a new Coursework via the Classroom API, a "due" date and time can be added ( Classroom API TimeOfDay reference ) and the instructions say that "The date and time zone are either not significant or are specified elsewhere.". In the…
Dan
  • 1,249
  • 2
  • 16
  • 31
3
votes
1 answer

Google Apps Script to turn in, grade, and return a Google Classroom Assignment

As mentioned in the comments below, if only students can turn something in, then I would need to be able to grade and return the assignment even though it had not been turned in yet. To clarify, the assignment was made with the API and I have…
Jason Jurotich
  • 441
  • 4
  • 24
3
votes
1 answer

Google script to add Google Form to a Google Classroom assignment

I am trying to add a Google Form to a Google Classroom assignment, but it seems that it is not possible. First, it tells me here (https://developers.google.com/classroom/reference/rest/v1/Material) that "When creating attachments, setting the form…
Jason Jurotich
  • 441
  • 4
  • 24
3
votes
3 answers

google classroom api student list

Can anyone help me list the students for a specific class using Google Classroom API. I have searched through the API documentation and I can't seem to find out how to do it. I basically need to do…
3
votes
0 answers

How can I get the courseWorkId when using the Classroom Share button

I am using the Classroom Share Button to let users create assignments with resources from my Website on Google Classroom. Is it possible to retrieve the courseId and the courseWorkId of the newly created assignment? I need this info to be able to…
StefanLi
  • 31
  • 2
3
votes
1 answer

How do I edit scopes? // Google Classroom control permission scopes in google apps scripts for student access

I am a high school teacher writing a Google Apps Script against Google Classroom. I want to create a spreadsheet like view of my students grades that my students can access with their credentials. I have successfully written the code so that I can…
3
votes
1 answer

Copying item .getFeedbackForCorrect between Google quiz forms

The .duplicate() method does not work between forms (well not as far as I can see) so I have written a quick routine to copy multiple-choice items from one form to another. (I'm doing this to set quizzes in Classroom. I have banks of questions on…
3
votes
1 answer

Google Classroom API patch

When executing the courses.courseWork.studentSubmissions.patch method in the Google Classroom API, a 403 error is returned when I try to update the student's submission. Below is my code. from googleapiclient.discovery import build from oauth2client…
Ravi Vasu
  • 37
  • 3
1
2
3
41 42