Questions tagged [google-calendar-api]

1

votes
1

answer
3.9k

Views

Implementing Google Calendar API with Angular 5

I'm trying to connect to the Google Calendar API using Angular 5 so that I can display upcoming events on the web application I am building. I'm new in Angular and i'm looking for a way to integrate the API in my app. I searched alot but i didn't find a way to do it.
Eve
1

votes
3

answer
2k

Views

Google calendar api Push notification: 401 - Unauthorized WebHook callback channel

Any solution for the issue. This seems to be not working { 'error': { 'errors': [ { 'domain': 'global', 'reason': 'push.webhookUrlUnauthorized', 'message': 'Unauthorized WebHook callback channel: https://xxxxx' } ], 'code': 401, 'message': 'Unauthorized WebHook callback channel: https://xxxxx' } } A...
Naveen Koti
1

votes
1

answer
226

Views

Get CALENDAR_ID to insert event in Google Calendar

I am trying to insert an event in my Google Calendar but it is not working so far. Is there a simple way to get the right CALENDAR_ID inside of my method? private void syncwithgooglecalendar2() { Account[] accounts = AccountManager.get(CalendarSyncActivity.this).getAccountsByType( 'com.google'); Str...
Timitrov
1

votes
1

answer
601

Views

get calendar list by using google calendar api through postman

I am currently working with Google Calendar API and try to get calendar list by using postman, but I don't know its standard format. I try to give it the Authorization header. GET /calendar/v3/users/me/calendarList?key=AIzaSyD-a9IF8KKYgoC3cpgS-Al7hLQDbugrDcw HTTP/1.1 Host: www.googleapis.com Content...
Park Jay
1

votes
1

answer
269

Views

How do I get the direct link to an attached file from Google's Calendar API?

This is part of the data I receive from Google's Calendar API: { 'fileUrl':'https://drive.google.com/file/d/1q-cSkADjUnD0PGOamZKI44oIL_cXDJlg/view?usp=drive_web', 'title':'2.png', 'iconLink':'', 'fileId':'1q-cSkADjUnD0PGOamZKI44oIL_cXDJlg' } How do I achieve the direct link to the file (using Java...
Barskey
1

votes
0

answer
37

Views

Does every get<Something> request on a CalendarApp object correspond to one HTTP request/API call?

Using Apps Script and Google's CalendarApp, I'm trying to get all the events from two calendars for two days (today + tomorrow) and sort them by start time. I'm currently doing this like this: // Function passed to sort() later to compare two calendar events function compareEvents(event1, event2) {...
Aneev Davis
1

votes
0

answer
259

Views

Url ics import on click

I'm trying to make an add to calendar link/button. I, at least, want people to be able to click on a link whereafter the get send to Google calendar where (after login) they should get a popup with do you want to add this calendar to you Google calendar. The calendar is a ical file generated by a w...
Mante Sietsma
1

votes
1

answer
36

Views

Filter events from my calendar gives wrong result

I use a script in order to extract events from my calendar. It worked well, but the last two months it extracts also from 24th of previous month Where is it the error? function listEvents_WebOriginal() { var today = new Date(); var Calendar = CalendarApp.getDefaultCalendar(); // filtro sul calenda...
Pierfrancesco Marro
1

votes
1

answer
429

Views

insert event in google calender using php

I am trying to add event in Google Calendar using PHP. Following is my code: $event = new Google_Event(); $event->setSummary('Halloween'); $event->setLocation('The Neighbourhood'); $start = new Google_EventDateTime(); $start->setDateTime('2018-1-19T10:00:00.000-05:00'); $event->setStart($start)...
laurel
1

votes
0

answer
75

Views

I have an issue deleting events on the Google Calendar of a Web Site

I'm working on an Intranet Web Site. One of the tasks in this site is to schedule events on a Google Calendar for booking a room at the company. The scheduler is working fine, but the big issue comes when the user tries to delete the event. The actions should be like this: Click on the 'url for dele...
Zita Noriega Estrada
1

votes
1

answer
161

Views

EXDATE recurrence setting being ignored

Using the PHP Client Library, I'm trying to create a weekly recurring event that will skip on days when we are closed for business. I'm passing these parameters to make a new Google_Service_Calendar_Event object that gets passed to Google_Service_Calendar::events->update(). $params = array( 'summary...
Peter Li
1

votes
0

answer
362

Views

When updating calendar event with google script how to send notification

From Google Spreadsheet I create events using Google Script. When creating events I can send notifications to guests. One or more events need to be updated sometimes (change location, add/remove people, etc). The updates work except I cannot find how to send notification to people (not all guests wi...
Stefan van Aalst
1

votes
0

answer
466

Views

Google Calendar API, Appointment Slots, “This event was created from an appointment slot”

What Google Calendar API can I call (from Apps Script) to determine if an event was created from an 'appointment slot'? Google calendar knows this because when a calendar event is clicked, the detail card shows this text: 'This event was created from an appointment slot'.
Arie Fisher
1

votes
1

answer
338

Views

Gmail markup for event booking not working

I am trying to send an email with event template to Gmail addresses that will create an event in the recipients Google Calendar. Tried doing this using a standard C# Console Application. Below is my code. The emails are being received by the recipients successfully, but no event is getting created...
Alemtsehay Teshoma
1

votes
1

answer
908

Views

How do you automatically send a message to guests in a calendar invite?

I'm using Google Apps Script to automate certain workflows. Whilst I can manually email guests in a calendar invite I've sent out, I'm struggling to find a way to write code that allows me to do this. The email must contain the google calendar invite, just as using the 'email guests' feature manuall...
Sunil Jindal
1

votes
0

answer
44

Views

is it possible to integrate my plugin inside google calendar?

I would like to customise Google calendar by adding an extra feature. How I should approach this? For example, I would like to add extra options while creating a calendar event.
Pitchiah Natarajan
1

votes
0

answer
74

Views

Delay when using Google Calendar API with Python 3.6.2

Per the example script on the page here I've noticed that in python 2.7.14 the example runs quickly. When I changed to python 3.6.4 (to ensure compatibility with a script I am making) there is about a 21 second slowdown with the line in question: service = discovery.build('calendar', 'v3', http=http...
Masterisk
1

votes
1

answer
420

Views

Get google calendarID from Google calendar name using API in python

How can I retrieve the calendar ID of various calendars on my google calendar by using the API, I am aware that using the page_token = None while True: calendar_list = service.calendarList().list(pageToken=page_token).execute() for calendar_list_entry in calendar_list['items']: print calendar_list_...
Jordan Haskel
1

votes
1

answer
46

Views

Gsuite Business - access calendars of users

I have a Gsuite Business account and several users, I would like (in Python) to access the calendars (readonly) of all users, to display events in an app. As a Super Admin, is there a way to do this without having to ask each user to agree that the app will access their calendar?
robtus88
1

votes
0

answer
544

Views

Convert string into datetime with timezone in python

How to properly use strptime to convert string data from Google Calendar API to datetime object? Here are two working cases: from datetime import datetime, timedelta obj = datetime.strptime('2018-03-01T12:00:00+01:00', '%Y-%m-%dT%H:%M:%S+01:00') print(obj) # 2018-03-01 12:00:00 obj = datetime.strp...
wokadakow
1

votes
0

answer
35

Views

Event moved to shared calendar and i am not getting the new calendar name in google calendar push notification

I am using google calendar API and when the event is moved to the shared calendar, I am not getting the name of the new calendar in the response to push notification like when the event is canceled on the same calendar I am getting organizer property in which I am getting the email Id but same is mi...
amanpreet singh
1

votes
2

answer
158

Views

Adding reminder entry in Google Calendar

I want to add reminder in Google Calendar. To do that I am referring this article https://developers.google.com/google-apps/calendar/quickstart/dotnet but as soon as my debugger reach credential = GoogleWebAuthorizationBroker.AuthorizeAsync( GoogleClientSecrets.Load(stream).Secrets, Scopes, 'user',...
Imad
1

votes
0

answer
54

Views

Invalid credentials even after a successful refresh token on first time load angularjs

I am trying to integrate google calendar api in my angularjs spring mvc application.I am able to connect to google and get all the events from the calendar.First time i am getting one access token and same access token i am storing into database.After one hour the token is getting expired and i am p...
Sachin HR
1

votes
2

answer
244

Views

How insert an event on Google Calendar

I currently have a feature in my app that inserts an event into Google Calendar. However, the code for this feature is over 4 years old and today, when I tested this app, I saw that the event is not being inserted into Google Calendar. However, it is on the normal Android calendar, but when I access...
Leomar de Souza
1

votes
0

answer
40

Views

How can I autoupdate events in google calendar from sheets?

I have a script that generates an event when a form response is submitted. But I also want it to update an event by adding an email as a guest, if the event is at the same time. I think I need to add an If statement and go that route but I'm not sure thanks for all your help I followed a tutorial t...
chris bernay
1

votes
1

answer
78

Views

Disable automatic meeting creation (Google Calendar API)

I'm interested in understanding the right way to create a new calendar event with version v3 of the Calendar API using a third party conferencing system: I'm unable to disable the automatic generation of meeting / hangouts videoconference rederence if it is requested in the individual user's calenda...
lrossi
1

votes
0

answer
57

Views

Duplicate event 409 error when updating a calendar invite

We've been using the same process for creating a google calendar invite for a year now, and if the the calendar invite and id already exists, it will create a new one. This code is fairly static so I am wondering if something happened on google's API that might have changed? Here is the error return...
Blooze
1

votes
0

answer
144

Views

Google Calendar Api works fine with local host but not with heroku in ruby on rails

I am working on a project where we have to deploy our app to Heroku. I am using google calendar API in my project. It works perfectly fine on locally, passing through authentication and getting calendar events. But on Heroku it does not work, it just gives 'if you are the application owner check the...
arslan
1

votes
1

answer
216

Views

gapi.auth2.getAuthInstance().isSignedIn.get() is always false when Chrome Browser has multiple accounts

I copied the example given in Google Calendar API Quickstart and replaced it with the appropriate info. Every time I refresh the page, I'm asked to authorize before api data is fetched. I'm using Chrome and I currently have multiple accounts / users. I noticed if I open an Incognito Window and sign...
blinkmacalahan
1

votes
0

answer
110

Views

Google Calendar insert event : JSON parse error through @RequestBody Spring

I try to insert an event to Google Calendar. If I create my event with Java Object directly, using the Java client, I have no problem. My problem is when I send my event in JSON to my controller: (The Content-type is application/json, and I use postman or command line to send it) My JSON: { 'summar...
Romain Barbier
1

votes
0

answer
33

Views

Not receiving data in header in google calendar webhook/push_notification request

I created a new channel using below code for google calendar watch events but not getting any data in header when receiving webhook from google. client = Google::APIClient.new client.authorization.access_token = '#{access_token}' service = client.discovered_api('calendar', 'v3') data = client.execut...
Mayank
1

votes
0

answer
234

Views

Google Calendar API Freebusy request: combine response for multiple calendars?

For example, currently with the following request structure: { 'timeMin': '2018-04-15T07:00:00.000Z', 'timeMax': '2018-04-16T07:00:00.000Z', 'items': [ { 'id': 'cal1_id' }, { 'id': 'cal2_id' } ] } I would get a response something like this: { 'kind': 'calendar#freeBusy', 'timeMin': '2018-04-15T07:00...
Kenmore
1

votes
2

answer
618

Views

Google Calendar API datetime format python

I'm trying to use the Google Calendar API for python and want to change the format of the date it's outputting. I've tried using dateutil and strftime, but couldn't get it to work..... Right now it's outputting yyyy-mm-dd hh:mm:ss-hh:mm 'Event Name'. I want it to just display either yyyy-mm-dd, or i...
Jae Park
1

votes
0

answer
172

Views

Full day event not correctly showed on free busy request

i am having an issue when call free busy request on Google Calendar API. Full day event are not showed correctly. If I have an event on 23/04/2018 (full day event) the FreeBusy request return this: {'calendars':{'null':{'busy':[],'errors':[{'domain':'global','reason':'notFound'}]},'':{'busy':[{'end'...
qwerty86
1

votes
0

answer
35

Views

Redirection by clicking calendar event notification

I am adding an event to the calendar in Android and setting the reminder as 1 hour before. I am receiving the event reminder. Now i want to open my app on clicking the event reminder notification. Is this possible in android?. If possible how can i do this. if not possible any other suggestion for a...
sijo jose
1

votes
2

answer
84

Views

Insert into google calendar API v3 puts time 1 hour ahead

I am inserting the following date into a google calendar: 2018-05-10T09:00:00.000Z. This works fine however it shows the date at 10am instead of 9am. The date is formatted as UTC. I have tried putting the timezone and even the 'Reykjavik' trick. let calendar = google.calendar('v3'); let auth = gener...
Allreadyhome
1

votes
0

answer
142

Views

Retrieve private iCal url for a private Calendar using the Java Google Calendar API

I'm trying to access the private url for my private Calendars using the Java Google Calendar API (the one I can see on the UI on the calendar settings that looks like https://calendar.google.com/calendar/ical/[calendarID]/[magicCookie]/basic.ics). However, even though I'm authenticated correctly usi...
Cardelco
1

votes
1

answer
50

Views

Can I access to this Screen if I use Google's Calendar API?

I'm trying to save events from my app in the Google's calendar. Now, I'm using an intent to launch this preview screen (with the fields already filled in) in case the user wants to modify any field. I want to use the Google's calendar API, I have read the documentation and I have not found the way t...
MachuSnz
1

votes
0

answer
589

Views

Google Calendar API - get events

I'm using PHP and MySQL but I guess this question can be for almost anyone. I have a website where people can register/create an account and login. I have a calendar on my site for each user. I'm wanting to implement Google Calendar API (oauth) so they can login to their Google accounts and sync the...
johnniexo88
1

votes
1

answer
231

Views

certificate verify failed google api

I am Using google calendar api, on python 3.6. Any API call I make fails because of certification verify failure. My Service Account is fine and valid. I initiate an instance of the class and then call get_calendar_list method. The code is: from .auth_service import get_credentials from google.auth....
Payam Mesgari

View additional questions