Is there an API for extracting grades in Google Classroom - google-classroom

I was reviewing the Google Classroom API and noticed there was not an option for getting grades. I need to extract the assignment grades from Google Classroom into an external grade book app that I am creating. Does anyone know if this is possible, or how to do this?

You can definitely get grades from the API.
Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions
From there, loop through the studentSubmissions:
studentSubmissions[i].assignedGrade
That gets the assigned grade for that specific assignment. I also grab studentSubmissions.userId in order to get the student name. Let me know if you need anything else.

It is possible with Google Sheets and Apps Script. You can export your grades to Google Sheets and from there, you can use Apps Script to extract data from the sheets. To do that, you can check this SO question and the methods to access and modify spreadsheet sheets.

Related

How to get Amenities for a place using google place api or place data api

I could able to get details about the restaurant using google place detail api, but I need to get Amenities particularly. The Api I use is mentioned below.
https://maps.googleapis.com/maps/api/place/details/json?placeid=PLACE_ID&key=API_KEY
You can't get amenities information from this API. They don't give you access to that information on purpose because Google Maps must have a competitive advantage. So, you can link the restaurant to that location on Google Maps in order give the option to view the amenities.

Ads Actions Stats purchase and other values

I want to fetch keys from facebook using their graph Api. Currently i am being able to fetch keys that were pretty straightforward in graph api console like frequency , reach etc. Keys like purchase, Adds to cart are not available in the graph api console and their documentation isnt very explanatory. Most of these keys are not returning any value in facebook's ads manager as well.
It would be really helpful if anyone can explain:
When these metrics will be available ?
I have seen a tool qwaya and it copies all the columns that facebook provides. How are they doing it ?
What actions are to be performed on my ad so i can see any changes in
those values ( PURCHASE , ADDS TO CART etc )
Another side note : I was using facebook-ads-sdk but now they have changed its name to business-sdk

GET CourseWork by Date Classroom API

I'm curious as to how to obtain assignments for a specific date from a user's classroom. I know you can use calendar, although it doesn't provide the coursework meta or individually assigned items.
Thanks, Will

Google portable contacts api sort order not working

I am using this path to grab contacts from google after user is oauth2 authenticated.
path =
"http://www-opensocial.googleusercontent.com/api/people/#me/#all/?count=500&fields=name,displayName,emails&sortBy=name"
Strangely the sortBy name is not working.
It gives:
First a list of unordered contacts with no order.
Then it gives contacts with name in alphabetical order.
I want all contact names sorted by alphabetical order.
What is the work around for this problem ?
A quick reply will be appreciated.
It's a google bug.
Check my discussion with Jospeh Smarr google opensocial apis lead.
http://groups.google.com/group/portablecontacts/browse_thread/thread/1a3e2d8f5b437e7c?pli=1

Add pivot-table to a google spreadsheet, via the API

I'd like to automatically create one of these pivot tables:
https://drive.googleblog.com/2011/05/summarize-your-data-with-pivot-tables.html
Given some data and parameters, the script would create a new google spreadsheet, complete with pivot-table and chart, non-interactively.
Is this possible?
It appears that there is a partial answer. I haven't tried it yet, and I wouldn't swear by it till I do. If anyone does try this technique, post here.

Resources