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
-1
votes
1 answer

Classroom API IndividualStudentsOptions in Google Apps Script

Is it possible to use IndividualStudentsOptions object from Google Apps Script? I'm trying to create the object but returns this error GoogleJsonResponseException: No se ha podido llamar a la API classroom.courses.courseWork.create; error: Invalid…
-1
votes
1 answer

docs api documentId from classroom

I am trying to read google classroom classwork link slide document. It is returning 404 as I am not able to retrieve the documentId. Scenario: Teacher creates the slide in google docs and publish that to web. Before publishing, it will have a…
Sant
  • 1
-1
votes
1 answer

App Script Google Classroom API adding teachers to a course via batch press (loop)

function testScripts() { var courses = [12345678902, 123425373134]; var newTeacher = ["teacher@mail.com", "teacher@mail.com"]; for (x = 0; x <= courses.length - 1; x++) { var final = courses[x]; var finalT = newTeacher[x]; …
-1
votes
1 answer

"Undefinded variable: http" error when I'm trying batch enrollment reference code at google classroom

I'm trying to test batch enrollment for build up the google classroom, but I found some compile error at batch.execute(http=**http**) error message is "Undefinded variable: http" this is the code and compile error occurred the last part of this…
Dan
  • 1
-1
votes
1 answer

How do you change a student's name in Google Classroom?

Some are listed with first name first. Others are listed with last name first. This messes up the order of the class and is especially difficult when you're trying to transfer grades from GC to a gradebook.
Lauri Swing
  • 1
  • 1
  • 1
-1
votes
1 answer

Block code until first forEach loop finishes to use result in another forEach loop in Node

There are similar questions like this one here in stackoverflow, but I can't find one that resolves this in particular. I have two forEach loops in Node and one (this one: s.forEach((su) => { cw1.push(su.courseWorkId); }); ) uses the results of the…
Jason Jurotich
  • 441
  • 4
  • 24
-1
votes
1 answer

Google Sign-in identify account tied to a school

I'm using Google Sign-in to register and login users to my web app. We are an edtech product, so I would like to make sure users are registering with a google account that is tied to a school and not using their personal google accounts. Is this…
-1
votes
1 answer

Delta handling in GoogleClassroom

We are integrating Google Classroom to sync data to our Application from GoogleClassroom. We have the following queries :- Let's say today we fetched data from Google Classroom and we got a Course named as XYZ". After 1 week again we fetched the…
Vishal
  • 1
  • 1
-1
votes
1 answer

Create StudentSubmission after student has joined class

The Google Classroom documentation says: A StudentSubmission resource is implicitly created for each student when a new question or assignment is created. When I create an assignment in the class stream, and a student joins the class after this,…
Remko
  • 823
  • 6
  • 16
-1
votes
1 answer

Individual assignments in Google Classroom API

Will the functional for creating individual assignments be available in API as well as in UI?
-1
votes
2 answers

How to invite a guardian in Google Classroom through GAS

I try this code, but it returns a "Request had insufficient authentication scopes". I have more Classroom code in the same script that works properly. guardianInvitation = { 'invitedEmailAddress': 'guardian@gmail.com', } guardianInvitation=…
Enrique Umaran
  • 115
  • 1
  • 1
  • 9
-1
votes
2 answers

# google classroom API

I am new to google classroom API, I want to know whether API has one capability which full fill our requirement. Requirement: Assume that I have one button called courses on our own web application, when I click on the button it shows list of…
user3556209
-1
votes
1 answer

Google Clalssroom Oauth Web Interface

Google Classroom quickstart.php perfectly worked for me. Now I need to create web page which prompts user to Login (Oauth) and with those credentials I need to list their Courses. I tried the sample in Google Classroom questions but all ending up…
Raju
  • 1
  • 2
-1
votes
1 answer

I can't enable Classroom API to project

I know this question has been asked here but not properly answered... I can't access the Classroom API in developers console though I've been aproved to do so. Could you, please, share the neccesary steps? Any help will be much appreciated :-)
José L.
  • 579
  • 6
  • 16
-2
votes
2 answers

No Invitations ID

I have many google classroom invitations and I want to accept all of them through google app script using Classroom.Invitations.accept("courseId"); but then I get no data back... so I tried listing all my invitations…
1 2 3
41
42