google-calendar-api

Using Apps Script to create Calendar Appointment Slots

不想你离开。 提交于 2020-01-10 03:15:09
问题 I am using Google Apps Script to create calendar events but want to also create Appointment Slots. Apps Scrip appears not yet to support Appointment Slots (or am I missing something?). If not, does anyone know if this is this likely to be added shortly? 回答1: This is still not possible. I created an empty calendar, and called the event listing API here. I got an empty calendar. Then, I added a single appointment slot, and called the same API. I got the same empty calendar. Then, to make sure I

Access Google Calendar API after setting up omniauth in rails

。_饼干妹妹 提交于 2020-01-07 03:09:07
问题 I have a rails app that is using the gem 'omniauth-google-oauth2'. Everything is working so far. Now I am trying to pull a users calendar after they link their Google account. I have followed several tutorials, but it seems that I am not able to pull the calendar information. All the tutorials used: gem 'google-api-client', '~> 0.7.0', require: 'google/api_client' Problem is, I've tried so many times for so long, I am confused as to what the problem could be. Starting after setting up

Django oauth2 google not working on server

喜夏-厌秋 提交于 2020-01-06 21:08:54
问题 I'm using outh2 to authenticate. I need it for google calendar v3 api. On localhost everything works fine. But when I publish it on the heroku server I get Application Error (based on error code is timeout - after 30s). I have created separeted google project (for google id and secret). Here is my code import gflags import httplib2 from apiclient.discovery import build from oauth2client.file import Storage from oauth2client.client import OAuth2WebServerFlow from oauth2client.tools import run

Getting Recurrence of API Google Calendar Events

孤者浪人 提交于 2020-01-06 19:25:16
问题 Good morning, I'm creating a Calendar that syncronizes with Google Calendar, but I can´t get the recurrence of the Events of Google Calendar. I think the field "recurrence" of the events is a protected field. But I don't know how to get the field of a saved Event. EDIT: The code: $params = array( 'orderBy' => 'startTime', 'singleEvents' => 'true', 'timeMin' => date(DateTime::ATOM), ); $listarEventos = $service->events->listEvents($calendar_id, $params); foreach ($listarEventos['items'] as $i)

Getting Recurrence of API Google Calendar Events

元气小坏坏 提交于 2020-01-06 19:25:14
问题 Good morning, I'm creating a Calendar that syncronizes with Google Calendar, but I can´t get the recurrence of the Events of Google Calendar. I think the field "recurrence" of the events is a protected field. But I don't know how to get the field of a saved Event. EDIT: The code: $params = array( 'orderBy' => 'startTime', 'singleEvents' => 'true', 'timeMin' => date(DateTime::ATOM), ); $listarEventos = $service->events->listEvents($calendar_id, $params); foreach ($listarEventos['items'] as $i)

Recurrent pattern to map on Google event pattern

陌路散爱 提交于 2020-01-06 18:01:22
问题 Google implements recurring patterns partly with rfc 5545. I need to map on Google situation of repeat event Yearly, every fourth Wednesday in August (start time mapping is clear). Implementation language to describe rule is not important, but if someone can recommend existing solution it would be good if java library is used. More details from rfc 5545 specification: Every Wednesday in August, forever: RRULE:FREQ=YEARLY;BYMONTH=8;BYDAY=WE It provides only partly solution. Is it can be

Recurrent pattern to map on Google event pattern

a 夏天 提交于 2020-01-06 17:58:31
问题 Google implements recurring patterns partly with rfc 5545. I need to map on Google situation of repeat event Yearly, every fourth Wednesday in August (start time mapping is clear). Implementation language to describe rule is not important, but if someone can recommend existing solution it would be good if java library is used. More details from rfc 5545 specification: Every Wednesday in August, forever: RRULE:FREQ=YEARLY;BYMONTH=8;BYDAY=WE It provides only partly solution. Is it can be

Choosing Calendar to add an iOS event

那年仲夏 提交于 2020-01-06 17:10:15
问题 I'm trying to add events to the calendar in iOS devices, for now I've got to add an event to the defaultCalendarForNewEvents calendar, but what I want is to be able to choose a calendar that has already been created in which I want to add the event. For example in the following capture it is seen that there is an iphone calendar and then there may be 1 or several gmail created What I want to do is that you can choose the calendar in which you want to add the event, this calendar must be

Azure WebSites denies access to Google Api

…衆ロ難τιáo~ 提交于 2020-01-06 15:04:11
问题 I am working on a dll that is used by web form application. One of dll's features is creating Google CalendarService and using it. When I run the webforms on my local host everything is running smoothly. However, if I run it from Azure websites 'GoogleWebAuthorizationBroker.AuthorizeAsync' method throws HttpListenerException (0x5): Access is denied Here is a stack trace: [HttpListenerException (0x5): Access is denied] Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task

Google calendar can't import my ical file

∥☆過路亽.° 提交于 2020-01-06 13:56:12
问题 Assume I have some controller "Controller" and public method in it: public ActionResult GetICal(int? param1, int? param2) { string cal = ""; //some logic goes here return File(Encoding.UTF8.GetBytes(cal), "text/calendar", "calendar.ics"); } Then I'm trying to export it to Google Calendar via url: https://my.site.com/controller/getIcal?param1=0&param2=1 And then nothing happens. Once i've got message like "Can't fetch url" (or simething like that). I don't know, what I'm doing wrong. This url