Create a task with a integrated google form API - google-classroom

With the graphical user interface of google classroom it is possible to create a task with a quiz. In this mode google forms wil be integrated and the teacher can store the questions that will be shown to the students.
How is it possible to create such a task with the Google API ?
Thanks for every answer

I understand that you want to create a quiz assignment using the Classroom API. If that is true, then you would need to use courses.courseWork.create to fulfill your goals. Here you have a reference of the request body that you can use to complete your request. Please, don't hesitate to ask me if you are still facing doubts.

Related

Is it possible to convert individual assignment to group assignment programmatically via Okta API?

An Okta Admin is able to convert individual assignments to group assignments as stated in the help documentation. Is it possible to do this in a programmatic way through the Okta API? I'm not able to find any reference in the docs.
No, unfortunately there is no way to do that through API, as far as I know
I utilize Okta workflows to programmatically convert individual assignments to group assignments. You can send a POST (I use the custom API action card in Okta Workflows, but I'm sure you could post directly to the API) to /api/v1/apps/<okta app ID>/users/<okta userID> with the following body: {"scope":"GROUP"}. Hope that helps, I know I struggled to find a solution until I discovered this method.

Can I submit student work with classroom API?

I'm trying to make a program to submit my google classroom work quicker (as a student). I've read the google classroom API but it's very oriented to teachers and I don't know if my idea is posible.
I would be very thankful if someone can help me!
No it is not possible.
The reason, unless you used the same program that created the assignment, you will not have the proper developer authentication permissions.
You can read more here: https://developers.google.com/classroom/reference/rest/v1/courses.courseWork.studentSubmissions/turnIn
If you want to experiment and learn how the process goes, possibly even test different approaches, I recommend this post:
https://yagisanatode.com/2020/05/13/google-apps-script-upload-grades-into-a-google-classroom-coursework-assignment/

How to access users google calendar information using google calendar api without oauth?

I am developing a chat application to provide information on users in our organization.
My question is there any way to access someone's calendar without their inference?
if there is a way how to do it?
Writing it as an answer so it's more clear. In case of public Calendars, you still need the owner to give edit permissions to you in order to make changes in the Calendar, like creating events.
For a more complete explanation: Share your calendar with someone

Reporting Scores Using PHP / JavaScript

I have created activities like these:
https://www.ereadingworksheets.com/text-structure-worksheets/text-structure-practice-01/
https://www.ereadingworksheets.com/reading-comprehension-worksheets/google/
They use the Google Classroom button.
When students are done with the quiz, they can currently print, save, or email PDFs of their scores. They can also share their scores to Facebook.
I want them to be able to submit their scores and essay responses to Google Classroom.
I've looked at the documentation here: https://developers.google.com/classroom/guides/manage-coursework
But the examples are only in Python.
Everything I've built for this project is based in PHP.
Can I get some examples using PHP that achieve the following goals?
Pass graded scores to your API.
Pass ungraded essay responses to your API.
Thank you in advance for your consideration.
There is a PHP Quickstart for Classroom API which you can use as a reference to start from. Also, there's a bunch of PHP scripts from Google in their google-api-php-client-services for Classroom API.

Add user review to Google map from my application(Android)

I am trying to create a location-based services Android application. I had successfully getting the user reviews from Google Places API by following the guidance from this link.
https://developers.google.com/places/documentation/details
I also found many posts regarding how to get user reviews from Google Places. But Now I want to create a function which user can insert reviews from my application. Is there anyway to do that?
Thanks.
No. There is no API for writing review. Also the Google+ mobile URL doesn't have the write review option from last year. Its a bug , but Google is not fixing this.
There is only one way to write review is through desktop URL. I have a similar location base app in play store where I have done some workaround to show desktop site to write review.

Resources