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
3
votes
0 answers

Integration Test Accounts

We built our first Google Classroom integration, and to do so we requested test accounts. Now that our application is integrated, we've like to be able to write automated integration tests to ensure that the integration continues to work. During…
Dennis
  • 998
  • 7
  • 19
3
votes
4 answers

Google Classroom Apps Script - CourseWork.list permission error

I am trying to access course work from my Google Classroom in a Google Apps Script using the Classroom API v1. I followed the steps in the Quickstart to successfully retrieve my course list, but when I tried to access the coursework in one of my…
Joel White
  • 31
  • 1
  • 4
3
votes
0 answers

Advanced Service Classroom is not working from yesterday

I have been working on a project the last few days that access advanced services, specifically Classroom. The project has the advanced services enabled -classroom- and also in the "Google Developer Console" is activated the API. Suddenly it has…
sergicurtu
  • 223
  • 2
  • 6
3
votes
3 answers

Google Classroom API modifyAttachments

When executing the courses.courseWork.studentSubmissions.modifyAttachments method in the Google Classroom API, a 403 error is returned when I try to add the attachment to the student's submission. GoogleJsonResponseException: { "code" : 403, …
Ken
  • 91
  • 4
3
votes
2 answers

Determine user type in Google Class Room (Either Teacher or Student)

How can I determine if a user that is logged into my app is a Teacher or a Student? I can successfully log in to my app using a Google Classroom test account, but when I look at the information retrieved, I see nothing in regards to role. I've…
Merlin -they-them-
  • 2,731
  • 3
  • 22
  • 39
2
votes
0 answers

How to return data to client using beforeSignIn Firebase Function

I need 5 properties from Firebase Authentication in order to Authenticate with the Google Classroom API. I can get the user's accessToken after signing in with popup as follows: const provider = new GoogleAuthProvider(); const SCOPES = [ …
2
votes
0 answers

Turn In API giving no response

I'm trying to integrate google classroom API where student can submit their work on a particular assignment and then update the state to hand in/turn in. I'm using turn in API endpoint but the API doesn't update the state nor return any…
2
votes
1 answer

Google Classroom API says it's disabled, but actually isn't

I have a problem using Google Classroom API for accessing the list of classrooms. I get the following error: Google_Service_Exception: { "error": { "code": 403, "message": "Google Classroom API (QA) has not been used in project XYZ before or it is…
narcisrm
  • 25
  • 5
2
votes
1 answer

How to get google classroom assignment data using app script in google sheets

Hi I am trying to get google classroom assignment of a student list in my sheets. I know how I need to add its value in the sheet but problem is that I am not getting data in the format in which I wish to have it. I am getting the data in wrong…
2
votes
1 answer

Getting "subject" value of course by API Google Classroom

How can I get or update the "subject" value for a course in the API? I did not find any information on this in the documentation https://developers.google.com/classroom/reference/rest/v1/courses/get?authuser=1
R1KO
  • 23
  • 2
2
votes
1 answer

Google App Script: identify performance/execution speed bottleneck part of the code

Google App Script: identify performance/execution speed bottleneck part of the code. Anyone already succeeded in this in general in terms of techniques? Can you share your examples? Below is my small script to output HTML webpage with simple table…
user14963548
2
votes
1 answer

Google Classroom - Create Course Error PHP

I'm trying to create a course using the Google_Service_Classroom API, using PHP, but I get an error in the call.
php 2021
  • 31
  • 2
2
votes
2 answers

Create courseWork with studentWorkFolder

Using Google Classroom API, I am simply trying to create a coursework (assignment) where I can assign the Drive folder for that coursework then I can upload attachments into that specific folder. I've tried on the browser with their API Explorer and…
smkso
  • 95
  • 1
  • 6
2
votes
1 answer

Using Google Class room Java API in Tomcat Server as a rest API

I want to use Google Classroom Java API in Tomcat Server as a REST API. I want the client-side code to generate an access token and refresh token and pass them to the REST API endpoints. The REST API then use the above token to call the following…
2
votes
1 answer

google classroom Invitation accept method return a NOT-FOUND

I have invited a google account as a student to my course and listing the invitations using LIST method returns the invitationId , courseId , Role(Listing is done from the senders google account). But if i accept the invitation from the invited…
1 2
3
41 42