google-classroom

Copying item .getFeedbackForCorrect between Google quiz forms

主宰稳场 提交于 2020-07-30 07:02:53
问题 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 single topics in quizzes for formative assessment and want to combine random questions from these for summative assessment.) The code I've written works fine in copying over the questions but not the feedback. This is my first GAS code so apologies!

Grading Google Classroom assignments using Google Sheets

我的梦境 提交于 2020-07-23 08:57:25
问题 I am trying to grade a Google classroom of about 200 students and I have succeeded in grading each student on a .csv file. Is there a method that allows you to automatically fill and submit grades and comments on Google Classroom from a Google Sheet? I have tried reading the .csv file and that works fine in a Python Script but writing the data to Google Classroom has been an issue. 回答1: With the Classroom API you should be able to push grades to your Course if you have either the student IDs

Grading Google Classroom assignments using Google Sheets

不问归期 提交于 2020-07-23 08:56:24
问题 I am trying to grade a Google classroom of about 200 students and I have succeeded in grading each student on a .csv file. Is there a method that allows you to automatically fill and submit grades and comments on Google Classroom from a Google Sheet? I have tried reading the .csv file and that works fine in a Python Script but writing the data to Google Classroom has been an issue. 回答1: With the Classroom API you should be able to push grades to your Course if you have either the student IDs

Grading Google Classroom assignments using Google Sheets

江枫思渺然 提交于 2020-07-23 08:55:13
问题 I am trying to grade a Google classroom of about 200 students and I have succeeded in grading each student on a .csv file. Is there a method that allows you to automatically fill and submit grades and comments on Google Classroom from a Google Sheet? I have tried reading the .csv file and that works fine in a Python Script but writing the data to Google Classroom has been an issue. 回答1: With the Classroom API you should be able to push grades to your Course if you have either the student IDs

Is there an example of the Classroom.Courses.Topics.get so I can call Classroom.Courses.CourseWork.create with an existing topicId?

做~自己de王妃 提交于 2020-07-10 08:35:46
问题 Our school is trying to move all coursework online. We have eight teachers adding content to one class, mostly manually rather than with a script. I have a javascript script that creates Coursework based on rows of a spreadsheet. If possible, I would like to have the topic as a string in each row of the spreadsheet of Coursework data, e.g. "Math Week 1", use Classroom.Courses.Topics.get to get the topic, then write the topicId from the topic into CourseWork. I found code on StackOverflow to

How to share image to Google Classroom in iOS?

﹥>﹥吖頭↗ 提交于 2020-06-17 09:36:08
问题 I want share an image within my application to Google Classroom. NSData* data = UIImagePNGRepresentation(_contentImageView.image); NSString* base64Str = [data base64EncodedStringWithOptions:0]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://classroom.google.com/share?img=%@",base64Str]] options:@{@"img": base64Str} completionHandler:nil]; Tried with above code to share image directly to their URL by encoding image data but no result.

GSuite - Google Classroom API - List all courses in a domain

筅森魡賤 提交于 2020-06-13 09:33:10
问题 I'm trying to list all courses in the domain using Google API python, but I can only list the courses associated with the user who makes the authentication. what should I do? Here is the code: def connect(): """Shows basic usage of the Classroom API. Prints the names of the first 10 courses the user has access to. """ global service creds = None # The file token.pickle stores the user's access and refresh tokens, and is # created automatically when the authorization flow completes for the

GSuite - Google Classroom API - List all courses in a domain

无人久伴 提交于 2020-06-13 09:32:07
问题 I'm trying to list all courses in the domain using Google API python, but I can only list the courses associated with the user who makes the authentication. what should I do? Here is the code: def connect(): """Shows basic usage of the Classroom API. Prints the names of the first 10 courses the user has access to. """ global service creds = None # The file token.pickle stores the user's access and refresh tokens, and is # created automatically when the authorization flow completes for the