google-apis-explorer

How to use Google Photos API Method: mediaItems.search in Google apps script for a spreadsheet

丶灬走出姿态 提交于 2020-11-29 09:02:13
问题 I really tried to figure this out on my own... I am trying to load photo metadata from google photos into a sheet using the Google Photos API and google apps script. I was able to make some progress after a lot of help on a previous question Is it possible to load google photos metadata into google sheets? I now have two functions. function photoAPI_ListPhotos() - Uses Method: mediaItems.list and gives me all my photos that are not archived function photoAPI_ListAlbums() - Uses Method: albums

Google Docs API - Update linked tables

99封情书 提交于 2020-08-26 03:38:36
问题 I am trying to update tables in Google Documents with the new API. Tables are linked from a Google Sheet. I tried the API explorer in google cloud. I am able to extract the document in json format and then filter out the tables. But within the table json structure, I do not find anything that I can update, I do not find anything that links the table to a spreadsheet. It is plain text (from the cells in the spreadsheet). Here I am sharing one table from the json, with 2 rows and 1 column with

How can “proposed new times” be retrieved for an event?

依然范特西╮ 提交于 2020-06-12 03:33:07
问题 TL;DR: When an attendee has proposed a new time for an event, is it possible for the organizer to retrieve the proposed new time via the Google Calendar API, e.g. from Events: get or Events: list? Example flow Organizer invites Attendee to an event at 1700 EDT Attendee receives the event invitation for 1500 MDT Attendee proposes a new time of 1530 MDT Organizer sees that there is a proposed new time Resulting event data from the Google Calendar API When the organizer retrieves the above event

Gmail API throws 401: error login required only for sending emails

可紊 提交于 2020-06-01 03:44:55
问题 I'm trying to set up the gmail api to send emails automatically using google's sample code. When trying to send an email, I receive a 401 error. I've set up quickstart and given it access to my gmail for all purposes. I can access my account through the API for other purposes, such as retrieving labels, but not sending emails. I've tried deleting and remaking my token several times, and I have set SCOPES to include sending emails and that shows up in my google account. def create_message

Gmail API throws 401: error login required only for sending emails

余生长醉 提交于 2020-06-01 03:43:26
问题 I'm trying to set up the gmail api to send emails automatically using google's sample code. When trying to send an email, I receive a 401 error. I've set up quickstart and given it access to my gmail for all purposes. I can access my account through the API for other purposes, such as retrieving labels, but not sending emails. I've tried deleting and remaking my token several times, and I have set SCOPES to include sending emails and that shows up in my google account. def create_message

Account restricted to google Classroom API

牧云@^-^@ 提交于 2020-04-30 05:17:05
问题 My collague and I have a C# WPF project, which manage courses in Google Classroom. We create the project in Google API platform. We are the owner of the project. Both have OAuth 2.0 Client IDs. (but it doesn't matter) I allow all of Classroom API's scope. I am the domain admin of our Gsuite for Education. Google Classroom API is allowed in the domain. He can login and use the program, there is not any error, every function is ok. I can't, because i got an error 400, invalid_request Account

Android Management API: List of Enterprises/Policies?

≡放荡痞女 提交于 2020-03-25 14:29:41
问题 This is driving me nuts. I've successfully followed the Android Management API Quickstart to create a project/enterprise/policy and install it on a device. I stupidly didn't write down the enterprise or policy IDs. I tried to create a new set, but the non-enterprise email now gives an error that it's already part of another EMM. Is there a place in the console where I can see a list of the enterprises and/or policies that I've created? Where are these stored? Edit: I found the enterprises.get

Change Google Calendar Event Free/Busy with Calendar API

一笑奈何 提交于 2020-03-22 10:34:03
问题 I have a GAS web app for reserving rooms. When the app creates the event, it currently defaults to "Busy" for the event. I am trying to set the default to "Free". I found a GAS forum entry that recommends using the Advanced Google Calendar API to edit the transparency field (Source: https://code.google.com/p/google-apps-script-issues/issues/detail?id=2341). The script they suggested was var changes = { transparency: "transparent" }; Calendar.Events.patch(changes, cal_id, event_id); I have the