Can I submit student work with classroom API? - google-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/

Related

How to put a Google login on my main login form as an option?

I just want to put an Google login on my main form login as an Alternative way of logging in to the Mob app that i was developing.I want on my main fomr to have a (Login with Google) but i dont have any idea how to do it. is there anyone can help me? this is only for educational purposes, i just want to enhance my programming skills.
I tried searching and Firebase auth always appears.
Firebase Auth is actually free to use for the auth section so it's not a bad option.
There are a lot of moving parts with this and learning by using Firebase as your core is a great way to get introduced without handling so much of the complications. If this is just for education my personal recommendation would be to learn Firebase methods first and then look into replacing it with your own implementation.
However, if you want to just use Google Auth using a native plugin and nothing else then there is a tutorial on IonicThemes.com which covers how to set it up.
You can read it here if you're fast:
https://ionicthemes.com/tutorials/about/ionic-google-login
This question will probably get deleted as it doesn't meet the guidelines to just post links to tutorials, but it's a lengthy process so I don't know what else StackOverflow expects me to offer in this instance. Perhaps just to vote to close your question.

Outlook/Exchange RoomFinder (w/ Lex)

I'm an intern and I've been tasked with creating a RoomFinder API for Outlook that works with Amazon's Lex/Lambda to find a location and schedule meetings given a list of participants. The API is supposed to be able to pull the calendars from Outlook for the individual participants, find a time that works for all of them and a location with a proper seating capacity, and then schedule the meeting+add it to the calendars of those involved. I have a pretty good understanding of how Lex works and have created my own functions using Lambda before but I don't even know where to begin when it comes to pulling the calendars from Outlook for the participants.
I have been trying to get an idea of how to go about this for a few days now and found some information on Outlook's REST API which it sounds like can be used to gather some of the needed information but I'm not sure how to actually begin doing that. Here are links to a few of those pages:
https://msdn.microsoft.com/en-us/office/office365/api/use-outlook-rest-api#RegAuthConverged
https://msdn.microsoft.com/en-us/library/office/dn643730(v=exchg.150).aspx
I also managed to find a few pages on GitHub of similar, more basic scripts using Python to acquire things like Room Availability from Outlook but I couldn't get any of those to work. I don't have enough reputation to post more links but if seeing those would help I can maybe comment them later.
I'm really looking for any advice on where to begin or tips on how to get this done. I think I may be on the right track with the REST API idea but I have no clue how to actually use it or set it up.
Any help is appreciated, thanks.
We are just now rolling out a new REST API to list the roomsIDs(findrooms). You can use this in conjunction with the findmeetingtimes API to schedule meetings. Please take a look at the REST API docs here(remember to choose beta in the top-right)
https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#GetMeetingRooms

Hubot Slack scripting

I just got into developing my Slack bot, but I don't know (yet) how to do certain things, or if they're even possible.
What I basically want (for example) is that the bot gets my Slack username and returns it to me.
If I would know how to do this, I could integrate much more interesting things into my bot. I did check the documentation, but (as far as I could see) there was nothing on this subject.
Another thing I want to achieve is making the bot do a call to my custom API.
If anyone would give me a helping hand (example/link to some great examples/documentation for example) I would greatly appreciate it!
I managed yesterday to get the information from Slack using a debug command (console.log Object(msg)). This gave me all the information I wanted.

I can't enable Classroom API to project

I know this question has been asked here but not properly answered... I can't access the Classroom API in developers console though I've been aproved to do so. Could you, please, share the neccesary steps?
Any help will be much appreciated :-)
The Google Classroom API is currently in Developer Preview. Please apply for access and wait for the confirmation email.

Google OpenID-OAuth hybrid implementation on Heroku

I am looking for a step by step guide to implement Google OpenID+OAuth in our Webapplication running on Heroku for getting calendar/contacts data. I have looked at many documents and Q&A about this but still can't make things work and was wondering if anyone here knew of a place which describes the plugins, gems needed and a step by step guide. The reason for using the hybrid is that we need a permanent token from Google that we can track for users across multiple sessions.
Truly appreciate any help.
Best,
_KK
You cannot use Google's OpenID to access other service. So you will need to ask user to provide username/password when you want to access calendar (make sure it's SSL-ed!).
So for calendar you can use: GCal4Ruby.
But in general you can access user data using official Google GData gem.

Resources