google-calendar-api

Batch saving EKEvents to Google calendar causing loss of random events

♀尐吖头ヾ 提交于 2019-12-24 03:22:33
问题 I have a large set of activities that I want to batch save to the calendar. Which calendar is selected by the user. They have the option to export to iCloud calendar or Google calendar. When exporting to iCloud calendar everything runs smoothly. No problems. However, when exporting to Google calendar I am encountering som weird issues. The number of events to be saved is somewhere around 60-90 events. I use the function provided below to export the calendar events in the background. The

Insert event into google calendar with php

自古美人都是妖i 提交于 2019-12-24 02:23:23
问题 How can I insert an event into a google calendar? I am using this guide: https://developers.google.com/google-apps/calendar/v3/reference/events/insert In the examples section, there is this php code: $event = new Event(); $event->setSummary('Appointment'); $event->setLocation('Somewhere'); $start = new EventDateTime(); $start->setDateTime('2011-06-03T10:00:00.000-07:00'); $event->setStart($start); $end = new EventDateTime(); $end->setDateTime('2011-06-03T10:25:00.000-07:00'); $event->setEnd(

Insert event into google calendar with php

只谈情不闲聊 提交于 2019-12-24 02:23:14
问题 How can I insert an event into a google calendar? I am using this guide: https://developers.google.com/google-apps/calendar/v3/reference/events/insert In the examples section, there is this php code: $event = new Event(); $event->setSummary('Appointment'); $event->setLocation('Somewhere'); $start = new EventDateTime(); $start->setDateTime('2011-06-03T10:00:00.000-07:00'); $event->setStart($start); $end = new EventDateTime(); $end->setDateTime('2011-06-03T10:25:00.000-07:00'); $event->setEnd(

Google Calendar API - Designed for?

余生颓废 提交于 2019-12-24 01:17:32
问题 I would like to implement a Google Calendar API using FullCalendar Javascript. Before any start of coding I have some problem to understand what is the main purpose of the Google Calendar API. As you know there is some Auth process before creation and enabling API. That means that I, as owner or developer want to use Google Calendar API so I get client/secret/keys strings and it is OK. I can create an app where I can “promote” my Google Account Calendar being public and then I can show all

How can I send an invitation to the guest by Google Apps Script for Calendar

落花浮王杯 提交于 2019-12-24 00:26:49
问题 I am trying to add a guest to a Calendar event by Google Apps Script and to send an invitation as soon as my script add a guest. But I can't find a method to send an email invitation to the guest. var events = calendar.getEvents(start_date, end_date) event.addGuest('guest_email@gmail.com'); Is there any way to send an invitation to the guest from Apps Script? I rewrote with Advanced Google Services but still the guest I have added can't get invitation email. var body = { 'sendNotification':

Changing event start date from “date” to “dateTime”

≡放荡痞女 提交于 2019-12-23 23:01:34
问题 I am trying to patch an existing event with new start and end date using the Google API Explorer So my event at the moment looks like this { "kind": "calendar#event", "etag": "\"2912997881756000\"", "id": "3fpkrr85sdfdgsdfsdsdflgn7vk74qhiv2o", "status": "confirmed", "htmlLink": "https://www.google.com/calendar/event?eid=M2Zwa3JsdfsdfyODVudWZobGduN3ZrNzRxaGl2Mm8gZHlsbsdfsdfi5pb19xNjUwcWRhcnYyam9vYWYzcTdudmhpc2ZvNEBn", "created": "2016-02-26T14:32:33.000Z", "updated": "2016-02-26T15:02:20.878Z"

Extend Google Calendar UI with google-app-scripts

孤街浪徒 提交于 2019-12-23 17:51:10
问题 I want to enhance my Google Calendar with some custom functions and I'm trying to figure out how. Google Calendar has an Add-ons button under Settings which opens the GSuite Marketplace with the filter compatible with calendar . After some googling, I found out that I could build my own GSuite apps with google-app-scripts. So does that mean I could a write an add-on with google-app-scripts that would be compatible with calendar and if yes how would I set this up? Would this enable me to

Is service account in google calendar api v3 the replacement of domain consume key and secret in two legged Oauth in v1?

六月ゝ 毕业季﹏ 提交于 2019-12-23 17:20:04
问题 I am trying to upgrade the google calendar API to v3 from v1 in a web service project. It worked very well with the api v1 currently, which is using the two legged Oauth for domain wide operations. For example, we're able to CRUD calendars and events in any person's calendars inside our domain, including having people subscribe a public account's calendars. So far so good, but I didn't find a proper replacement solution for it in the api v3. By checking the service account, I downloaded the

Google Script to Submit Form to Calendar Event

十年热恋 提交于 2019-12-23 16:34:41
问题 School teacher using my personal Google account to create forms and publish calendars to my class web site. Trying to make it fast and easy as possible for kids (with no access to Google Apps) to schedule make up tests using this form. A quick and dirty victory would be to have their form submission added to my calendar as an all-day event with the details in the description field. I could then review and edit the event to the specific time requested (I have only certain time options offered

How can I show a list of *all* available calendars using Google Calendar API v3 / Google API Client Library?

岁酱吖の 提交于 2019-12-23 16:09:33
问题 I have been trying to access the Google Calendar API v3 using PHP. Initially, I want to simply list the user calendars that are accessible to my call to the API. To do so, I have downloaded the Google API PHP Client Library and have attempted to use the following code (which is sourced, with my adaptations, from https://mytechscraps.wordpress.com/2014/05/15/accessing-google-calendar-using-the-php-api/ ): <?php //error_reporting(0); //@ini_set('display_errors', 0); // If you've used composer