无法在 Google 教室 API 中使用方法 courses.courseWork.studentSubmissions.return()
Unable to use the method courses.courseWork.studentSubmissions.return() in Google Classroom API
我正在尝试 return 在 Google Classroom, according to the API documentation 中收到的回复,我需要使用此方法 courses.courseWork.studentSubmissions.return()
但是由于关键字 [=14= 而触发错误] 被用作函数调用。
如有错误请指正,如有任何帮助,将不胜感激。
您可以在 Python here
中找到该方法的文档
所以请求应该是这样的
service().courseWork().studentSubmissions().return_(courseId=PASS_HERE_THE_COURSEID, courseWorkId=PASS_HERE_THE_COURSEWORDID, id=PASS_HERE_THE_SUBMISSION_ID)
请记住:
Only a teacher of the course that contains the requested student submission may call this method.
我正在尝试 return 在 Google Classroom, according to the API documentation 中收到的回复,我需要使用此方法 courses.courseWork.studentSubmissions.return()
但是由于关键字 [=14= 而触发错误] 被用作函数调用。
如有错误请指正,如有任何帮助,将不胜感激。
您可以在 Python here
中找到该方法的文档所以请求应该是这样的
service().courseWork().studentSubmissions().return_(courseId=PASS_HERE_THE_COURSEID, courseWorkId=PASS_HERE_THE_COURSEWORDID, id=PASS_HERE_THE_SUBMISSION_ID)
请记住:
Only a teacher of the course that contains the requested student submission may call this method.