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

how to emulate Copy menu function to reproduce a Classroom for the next term?

The Google Classroom class cards page provides the function / option to COPY a classroom (reproduce) for purposes such as a new term. This COPY feature is not exposed in the Classroom API. How might I emulate it?
Bill Pier
  • 21
  • 1
2
votes
1 answer

Google Scripts writing to Sheets

I have the script below to pull out information about google classrooms. I seem to be bashing my head against a brick wall - how can I write the course.data into the google sheet I am creating? Many thanks /** * Lists 100000 course names and ids. …
Jon
  • 113
  • 1
  • 1
  • 10
2
votes
1 answer

How do I access the "grade category" in Google Classroom using their API

I'm trying to build a dashboard to monitor class grades using the Google Classroom API. When I create an assignment through the website, I have the option to give it a "Grade Category" which affects how it is weighted in the final grade. For…
Matt Bellis
  • 289
  • 2
  • 10
2
votes
1 answer

How do I create an invitation to a class using the invitations.create() method?

I'm using the Google Classroom API with Python, and am trying to invite a student to a course, using the invitations.create() method. However, I keep getting a "404 requested entity not found" error, and I'm unsure what's causing it. service =…
2
votes
1 answer

What Admin Roles settings to set to be able to access Google Classroom API for the domain?

We are trying to create a separate Admin role to assign to users to be able to call the Google Classroom API (domain). If we set them to be 'super admin' it works but we do not want to give these users super admin permissions. Anyone knows any…
2
votes
3 answers

Internal error when publishing coursework with student copies in google classroom API Possible bug?

When I use Classroom API to publish an assignment with student copies. I get API call to classroom.courses.courseWork failed with error: Internal error encountered. This occurs when I post a Draft successfully, then attempt to use the API to publish…
2
votes
0 answers

Is there a free Google classroom plugin allowing coding assigment in javascript, python, java or other

As a teacher, I would like to extend google classroom with a virtual coding platform (as CodeRunner on Moodle) : Students are asked to write program code to some specification Code is then graded by running it in a series of tests. I've tried the…
Ronan Ogor
  • 21
  • 1
2
votes
1 answer

How can I make a Classroom's Post (only with Material) on API call?

My question here is about Google Classroom's API. When i am in the Classwork tab, I have a button to make posts; one option is "material". This type is not an assignement and does not have an assigned grade. This is a perfect concept: I can add…
2
votes
0 answers

Avoid exposure of API key and client ID when using Google Classroom browser API

I'm trying to use the Google Classroom Browser API. I referred to the page at https://developers.google.com/classroom/quickstart/js for the Quick Start for this API, but unfortunately it seems to expose my Client ID and API key in the script within…
Ho Wing Yip
  • 23
  • 2
  • 5
2
votes
2 answers

using google classroom api to change course ownerId

How? Easiest method? Tried using postman on desktop, googles OAuth2 playground and google help pages to try make sense of what to do. Ended up using GAM as this is the easiest and gives the most helpful responses. I have tried changing this from…
2
votes
1 answer

Using Google Apps Script to list assignments through Google Classroom API using course.coursework.list

Inexperienced at this - please forgive any wrong choices of words... I'm trying to use Google Apps Script to get a list of assignments set within different classrooms. I believe I have all the appropriate APIs, credentials and scopes required. I…
2
votes
1 answer

Setting Thumbnails for Google Classroom Coursework

We've been trying to get the custom coursework thumbnail working and have been unsuccessful so far. We've tried both a page URL and a url directly to a thumbnail image. We're using the PHP client like so: ... $materialLink = new…
Jeremy L.
  • 853
  • 8
  • 15
2
votes
1 answer

Creating Courses in classroom:Request had insufficient authentication scopes

While creating course in google classroom api am getting an issue: { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Request had insufficient authentication scopes.", "reason" : "forbidden" } ], "message" :…
kalai vani
  • 289
  • 2
  • 4
  • 21
2
votes
1 answer

Using the Google Classroom API, is it possible to change a grade without a turn in?

I'm looking to create an assignment in Google classroom's gradebook, then automatically grade it (without a student turning in an assignment). This seems to indicate that this is feasible, but the conversation there is a bit jumbled: Google Apps…
Jeremy L.
  • 853
  • 8
  • 15
2
votes
1 answer

Maintaining enabled APIs in Container-bound Script for a Google Sheet Template

I have a Google sheet with a Container-bound Script that makes Google Classroom API calls. I have added the spreadsheet now as a template for all teachers in my organization to copy the sheet and use it for themselves. However, when teachers copy…