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

Google API OAuth 2 sign in something went wrong with new OAuth 2 client

I am trying to make a discord bot that interacts with the google API specifically the Google Classroom API, so therefore I made a new project from the google console and created a new OAuth client for a web application. I enabled the Classroom API…
Hein Gertenbach
  • 318
  • 2
  • 13
7
votes
3 answers

Google Classroom Add IAM Policy Binding

I am working on Google Classroom Pub/Sub Notification. I have task which is create the pub/sub topic and subscription by using the Rest API. I have created the pub/sub topic successfully but when i am setting the IAM Policy/Permissions for created…
user1337934
  • 81
  • 1
  • 4
7
votes
3 answers

How to customize the look & feel of the google classroom share button

Currently, it appears like a square with no text beside, we want to customize the look & feel without disturbing the icon of course to match our other buttons. Already tried adding styles to the div which is converted to the share icon, but…
Hareesh
  • 113
  • 9
6
votes
0 answers

How to retrieve a users Organizational Unit when they Authorize Oauth2.0

BIT OF INFO: We are trying to build a login for students that use Google Classroom, or Google G-Suite for Education. Essentially, a Single Sign-On system. Students and admins will login, I will validate their email extension, which will be unique…
James
  • 1,562
  • 15
  • 23
6
votes
1 answer

Google Classroom Thumbnail

I'm attempting to Add a Classroom Share Button to resources that require authentication. When the "Share to Classroom" button is clicked on a resource, and the assignment (for example) is created in Classroom, the thumbnail, title, and URL are…
Mark
  • 113
  • 7
5
votes
0 answers

Missing Scopes Error: google.auth.exceptions.RefreshError

I'm trying to build a Google Classroom extension that gives the user control over when to receive "Work Due Soon" notifications. However, when the token refreshes, I get this error: "raise exceptions.RefreshError(google.auth.exceptions.RefreshError:…
JustNate-
  • 51
  • 2
5
votes
3 answers

List more than 30 students in a class in Google Classroom API query

At this moment, I have a script that works correctly to list students of a class in Google Classroom, but it does NOT list ALL of the students, only the first 30. I need it to list ALL of the students, no matter how many there are. What I have now…
5
votes
1 answer

Google Classroom API - Student's "emailAddress" and "photoUrl" are not coming in the response

I have a query regarding Student's Response of courses. I am not getting two parameters in API call (emailAddress and photoUrl) While calling the URL to the API "https://classroom.googleapis.com/v1/courses/{courseId}/students" via my code. I am…
4
votes
0 answers

How to integrate Google Classroom API with react-native?

I am struggling to find a way to integrate Google classroom API with react-native application. I have gone through Google API documentation but I am unable to find a way to integrate this api into my react-native app. Option -…
4
votes
2 answers

Can I randomize items in MultipleChoiceItem?

I'm new to GoogleAppsScript and now making quizzes in google form and spreadsheet by using GAS. I want to shuffle items in a MultipleChoiceItem when the google form is reloaded. A part of my current scirpt, slightly modified form this code, is…
4
votes
0 answers

Classroom API - Access classroom with Service Account

I need some help as I'm really stuck!!!! I have spent days and hours on this one but I can't figure it. I have searched all possible forums and other similar posts without any success. So, the requirement : We are trying to integrate Classroom API…
4
votes
0 answers

Is there an API for comments submitted to Google Classroom announcements?

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…
4
votes
2 answers

Is there an API for extracting grades in Google Classroom

I was reviewing the Google Classroom API and noticed there was not an option for getting grades. I need to extract the assignment grades from Google Classroom into an external grade book app that I am creating. Does anyone know if this is…
Derek
  • 93
  • 8
4
votes
1 answer

Creating a student with Google Apps Script & Google Classroom

GOAL: I am trying to use Google Apps Script & the Google Classroom API to generate a student for a Google Classroom class. ERROR: Code: 404 & message: Requested entity was not found. CODE: Classroom.Courses.Students.create( { …
4
votes
1 answer

Entity not Found Error in Google Classroom when creating assignment with STUDENT_COPY material

I'm programmatically submitting a Google Classroom assignment, and I'm seeing different behavior when attach a Material using the STUDENT_COPY shareMode than when I use the VIEW shareMode. The following code seems to be working fine: var resource =…
Jason Reid
  • 41
  • 3
1
2 3
41 42