google-classroom

oauth scopes google classroom API

倖福魔咒の 提交于 2019-12-02 21:26:18
问题 I am trying to get round a problem with my code which states "403 when requesting https://classroom.googleapis.com/v1/courses/582805726/students?alt=json returned "Request had insufficient authentication scopes." So I have been looking into adding the right scopes for my python project. I did this for GAM and I thought I would do it in this screen: Manage API client access (thats in the admin panel). So I have created a project, enabled the google classroom API, created an OAuth 2.0 client ID

oauth scopes google classroom API

六月ゝ 毕业季﹏ 提交于 2019-12-02 10:09:17
I am trying to get round a problem with my code which states "403 when requesting https://classroom.googleapis.com/v1/courses/582805726/students?alt=json returned "Request had insufficient authentication scopes." So I have been looking into adding the right scopes for my python project. I did this for GAM and I thought I would do it in this screen: Manage API client access (thats in the admin panel). So I have created a project, enabled the google classroom API, created an OAuth 2.0 client ID and copied this along with the following scopes: https://www.googleapis.com/auth/classroom.rosters,

Can't Enabled Classroom API to project

巧了我就是萌 提交于 2019-12-02 07:51:26
I'm trying to Enable Classroom API on my account (This was the email address I used when i signed up). When I click on the link in the directions Use this wizard to create or select a project in the Google Developers Console and automatically enable the API. https://console.developers.google.com/start/api?id=classroom I get the error message "The API you requested was not found. Dismiss" Any feedback would be much appreciated. A problem with my account. I can now add Classroom API to my apps and the example now works... 来源: https://stackoverflow.com/questions/31221022/cant-enabled-classroom

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

浪子不回头ぞ 提交于 2019-12-01 15:26:56
问题 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 unsuccessful so far. <div id='widget-div' class='btn btn-blue'>Google Classroom</div> The above line renders as below : Any idea how to proceed further or which direction to look into ? 回答1: To get a completely different share button you will need to write

Google Classroom API modifyAttachments

旧街凉风 提交于 2019-11-28 14:38:36
When executing the courses.courseWork.studentSubmissions.modifyAttachments method in the Google Classroom API, a 403 error is returned when I try to add the attachment to the student's submission. GoogleJsonResponseException: { "code" : 403, "errors" : [ { "domain" : "global", "message" : "@ProjectPermissionDenied The Developer Console project is not permitted to make this request.", "reason" : "forbidden" } ], "message" : "@ProjectPermissionDenied The Developer Console project is not permitted to make this request.", "status" : "PERMISSION_DENIED" } The call is being made from an