How to get Google Tasks task link? - google-api

Is there any way to get a link to task?
(like tasks.google.com/lists/some_list_id/tasks/some_task_id)
So, for example, if I have an task_id and a task_list_id from Google Tasks API and want to have an ability to go to Google Tasks from my app.

What you are looking for is called the selflink field. You can read it by getting/listing the tasks resource. If you already know the id of both tasklist and the task, then you already have everything you need to make the API requests. Feel free to write a comment if you need further clarifications.

Related

Create a task with a integrated google form API

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.

Google Play Console API

Issue: My clients need to access app information, such as installs, uninstalls, and respond app user comments.
They access the Google Play Console to manage the information above, but are computer laymen, and with access to the Google Play Console they can run undesirable settings or even remove the app from the Google Play Console.
Solution: Create a web portal for them to view only specific information (Installations, Uninstallations and responding to end user comments from the app).
Doubt: What API will the portal that I'm going to develop need to consume to display the information (Installs, Uninstallations and answer End User Comments)?
Annex draft of the project.
Why don't you just use user permissions in the Play console to prevent them from doing anything undesirable? You can give users read only access, and even per-app access.
Then you don't have to write any code at all.
As i understand it, your portal will mainly need two things :
The reviews sent by users via Google Play Store
The Google Play Console reports
Then, you will have to do the job yourself, create some kind of blog where end-users can posts reviews, and other users can comment it. You will also need to retrieve the reviews posted via Google Play Store, and use this data to automatically post a new review on your portal. The Reply to Reviews API can help you to retrieve such reviews, in a formated output (Json).
The install and uninstall are available thanks to Google Play Console reports, stored in a private Google Cloud Storage bucket. There are a few ways to download these reports, but i guess you want get them programmatically in order to automate the process. You will need gsutil to achieve this task. I understood gsutil gives you CSV files, witch can be parsed pretty easily, in order to isolate ans send the informations you need to your portal.

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

Automated reply with a link on slack

I'm making a script to monitor a 3D printer in the next room for a colleague. Using bash to take a picture, then upload to Dropbox.
He would like to be able to call a command ("/monitor or #monitor") to get the Dropbox link on slack but I cannot seem to find a relatively easy way to do this. Is there an app or not for those simple task?
The best way to do this is outgoing webhooks. Which is documented very well at https://api.slack.com/outgoing-webhooks.
Basically you get POST data on your web server, and you reply to it in JSON.
I use python flask and ngnix to accomplish very similar task.
You can easily implement a custom command on Slack using "slash commands". Every time you enter "\monitor" (or any other command you want to define) in Slack it will trigger a custom app that you then can connect to your bash scripts. You can also provide additional parameters in the command.
Check here for the documentation.

Can the opensocial API remotely search for users in orkut etc.?

Does anyone know if (and how) I can build an application (Java/Ruby/whatever) doing REST or RPC calls to a social network like Orkut (using opensocial) to search for a user by name or email address? So far I know that I can list all friends for a particular user ID, but I want to search among all users. Would I need to code it as an app/gadget running inside the google sandbox or is there a way to get a list of matching user ID via REST?
So far I got this one to work: http://code.google.com/p/opensocial-ruby-client/wiki/GettingStarted. But with this API and the gadget linked there I only get people that are already linked to me...
Thanks for answers,
Martin
No, you can't do that. At least, OpenSocial doesn't have spec like that.
In addition, SNS normally have privacy policy which disables developers to poke around users who hasn't installed your app.
Think OpenSocial API access to private information is quite limited.

Resources