Is there an API for extracting rubric grading data in Google Classroom? - google-classroom

I have read a helpful post for grades...
Is there an API for extracting grades in Google Classroom
and the API for grading...
https://developers.google.com/classroom/guides/manage-coursework#grade_student_responses
but haven't been able to see anything for rubric grading data yet. Or am I missing it?

Answer:
Unfortunately, at this time, there isn't a way of getting Rubrics from the Classroom API.
Feature Request:
There is already a report on Google's Issue Tracker which request this feature to be added to the API:
Add Rubrics to Classroom API
It appears that Google does seem to know about this and has responded on the above feature request. What you can do it hit the ☆ next to the issue number in the top left on the aforementioned page - this lets Google know more people are wanting this feature to be implemented and so it is more likely to be seen to faster.

Related

Can I get working places for all users from organization using calendar API?

I wonder if I can get working places for all users from organization using calendar API. Coworkers from my organization uses google calendar to mark if they work from home or office. I attach screen to show what I am talking about.
I've searched many endpoints from calendar API but did not find suitable one. Is it possible to get those information from API?
It is not yet possible to retrieve those information from the API.
But Google already documented it (tutorial, API reference) and it should come at some point in the (hopefully) near future.
Here is the related issue in their tracker : https://issuetracker.google.com/issues/199918380

Is it possible to dynamically query Google APIs to see how much of the limit/quota you've used?

For a given Google API, is there any way to dynamically check usage against any of the current limits for that API?
For example, this page https://developers.google.com/classroom/limits?hl=en shows that I can query the Classrooms API 4,000,000 times per client per day. At midday, without going to the API Console, how could I know that I've already hit 3 million queries?
I'm hoping that there's a billing or usage API that covers this, but can't see it.
Note: I'm not having any issue right now with a specific call, just anticipating that my usage will scale up significantly in the next few months, so am looking for a solution for monitoring rather than advice on not hitting the limits at all. My specific use-case is for Google Classrooms, but reading wider around this I can't see a general solution either.
Answer:
No, dynamically you can't retrieve this information.
Feature Request:
You can however let Google know that this is a feature that is important for the Google Workspace APIs to have, and that you would like to request they implement it.
The page to file a Feature Request for the Google Classroom API is here, as there is no specific component for Google Workspace APIs in general I would suggest filing it here instead.
You can use Google's Cloud Monitoring API to achieve this. This is the documentation page for APIs-
https://cloud.google.com/monitoring/api/v3
This is the documentation page for concerned metrics-
https://cloud.google.com/monitoring/api/metrics_gcp#serviceruntime/quota/allocation/usage
https://cloud.google.com/monitoring/api/metrics_gcp#serviceruntime/quota/exceeded
https://cloud.google.com/monitoring/api/metrics_gcp#serviceruntime/quota/limit

Why does Google+ API method people.me still work?

My web-app is using Google+ API method called people.me. I was notified via E-Mail that this Api is going to shutdown on March 7. I was given a list of methods used by me in that Api and this was the only method in the list.
Today it's March 11 and the method keeps working correctly. Why? Maybe I understood something wrongly?
If you check the top of a lot of the methods in the Google+ documentation you will see this
The Google+ People API list endpoint is deprecated. Consider using the Google People API instead.
On some of the methods that does not appear. IMO that is because some of these endpoints never actual read from the Google+ api rather they were reading from the google people api all along and just got a plus in the name. They may at some point have read from it and were moved when they redid google contacts. The people.me endpoint is part of the google people api and not the google plus api
People.get
GET https://www.googleapis.com/plus/v1/people/userId
is the same as
people.get
GET https://people.googleapis.com/v1/{resourceName=people/*}
The data for both of those end points comes from google contacts.
Now again this is just my opinion i have emailed google several times and the only answer i got back is we will look into it. I would wait until April if they are still live i guess we are good.

My Google API keeps returning a limit reached error, when I am sure I am under the limit

I am currently building a NodeJS backend app that is querying the Google Calendar API. I have setup a new project on Google Cloud API platform and have generated all the required credentials. As stated by the google calendar API page, the allowed queries per day is 1,000,000. Since I am only querying for testing purposes at the moment, I am sure that I haven't even hit a 100. Yet whenever I try to query the API it returns the error:
"The API returned an error: Error: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
Also I have noticed that the dev console has generated a API key for me. Where am I supposed to put that?
My initial thinking is that Google API requires me to perform an additional signup using some CLI tools or something along those lines to signup. If not, where am I supposed to sign up?
Thanks in advance.
Note: I already have all the information from the cloud platform such as client_id, client_secret, project_id.
In "Error: Daily Limit for Unauthenticated Use Exceeded", they key word is Unauthenticated. Your request to the Calendar API is missing an OAuth Access Token. You will need to research Google OAuth.
This question has been answered many times. Please learn how to search SO for similar questions whenever you post a new question. https://stackoverflow.com/search?q=google+oauth+%22daily+limit+for+unauthenticated%22
To anyone who comes across this post in the future. I fixed the issue by using the project generated by Google Calendar API site (https://developers.google.com/calendar/quickstart/nodejs) by clicked the big blue "Enable the google calendar api" and then changing the name of the quickstart project that was generated. I don't know why it works now but it does and it's been working quite stably so far. Lets see how to goes.

user_ratings_total No longer available in google places API. Alternative for getting total number of reviews?

As of today (5/25/2016) there seems to no longer be data for user_ratings_total in the Google Places API. I use this to get the total number of reviews for a business. Is there an alternative method to getting this data?
If you would like Google to reinstate the previously undocumented user_ratings_total result key (or something similar), then please go to: https://code.google.com/p/gmaps-api-issues/issues/detail?id=3484 and add your vote for this feature to be officially added.
This issue was "Acknowledged" by Google way back on Jun 3, 2013 and is still open as such (other similar issues like https://code.google.com/p/gmaps-api-issues/issues/detail?id=9824 have been "closed" with status like "WorkingAsIntended").
Hopefully if we get enough up votes then maybe they will see the need and put it back in and make it official (as opposed to undocumented).
(Unfortunately I couldn't post this as a Comment as I just registered; so I'm going to post it as an Answer and hope it is okay.)
I'd try the Google My Business API, see in particular the documentation section Work with Review Data.
You'll need to Request access to the API.
This is fixed now. Reposting a comment from the issue linked to above by #TechLeadAA
The total amount of ratings is now generally available for all Places
API clients as part of the Basic SKU:
https://developers.google.com/places/web-service/details#fields
https://developers.google.com/places/web-service/place-data-fields#basic
Places API: user_ratings_total
Places SDK for iOS: GMSPlaceFieldUserRatingsTotal
Places SDK for Android: Place.Field.USER_RATINGS_TOTAL
I'm facing the same issue, and it looks like total number of reviews from Google Places API is not the same as Google My Business API:
[https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Total-Reviews-are-no-longer-getting-in-Google-Places-API-and/td-p/573090#][1]

Resources