Questions tagged [google-calendar-api]

Questions related to interacting programmatically with Google Calendar calendars and events. A language tag should also be included, e.g. [google-apps-script]. Questions about general use of Google Apps should be posted on Web Applications Stack Exchange.

Google Calendar is a cloud-based application and service for personal calendar management. The service supports an API for Google Apps Script, and an API for integrating with applications written in a variety of technologies (currently Java, Python, PHP, .NET, Android, Go, iOS, JavaScript, Node.js, and Ruby).

The tag should be applied to questions related to interacting programmatically with the Google Calendar service or problems with Google's API for same. An additional language tag should also be included, representing the primary application implementation language in the question, e.g. , , or .

Usage questions about the web application should be posted at Web Applications Stack Exchange instead of here.

Documentation

Quickstarts

Step-by-step tutorials and examples to get started, for each supported technology.

Other resources

7083 questions
154
votes
4 answers

Link to add to Google calendar

I am unclear about the exact format to have a link on a website that will add a single event to a users Google calendar. I see that eventbrite has done it here but I would love some clear specs or links in the right…
Quotient
  • 3,925
  • 6
  • 31
  • 35
107
votes
6 answers

How do I create a link to add an entry to a calendar?

I'm working for this nightclub and are currently making a website for them, they've got lots events and their site is built a lot around events, today they make an facebook event of every event but it would be killer to have a "Add to my Calendar"…
Hultner
  • 3,710
  • 5
  • 33
  • 43
97
votes
9 answers

Get refresh token google api

I can't get my refresh token with my code. I can only get my access token, token type etc., I have followed some tutorials like putting access_type=offline on my login URL: echo "
Robin Carlo Catacutan
  • 13,249
  • 11
  • 52
  • 85
79
votes
2 answers

Google Calendar Push Notifications SetUp

I'm trying to setup a Push Notifications for Google Calendar using PHP and V3 api. I've got the Auth2.0 Permission and I'm able to create events on google from my application. Now I want to know when a user makes any change on google calendar (CRUD…
78
votes
4 answers

What parameters are required to create an "Add to Google Calendar" link?

We can use this link to add a new event to Google Calendar by…
Huei Tan
  • 2,237
  • 3
  • 23
  • 34
67
votes
8 answers

"ImportError: file_cache is unavailable" when using Python client for Google service account file_cache

I'm using a service account for G Suite with full domain delegation. I have a script with readonly access to Google Calendar. The script works just fine, but throws an error (on a background thread?) when I "build" the service. Here's the code: from…
Clay
  • 2,949
  • 3
  • 38
  • 54
63
votes
9 answers

Is there direct API for Google Meet?

I'm creating a system where I want to generate Google Meet meeting from NodeJS code. Is there API for creating a new meeting in Google Meet ? There is button Create new meeting on https://meet.google.com/ and I want to do something similar using…
shark
  • 995
  • 1
  • 8
  • 19
54
votes
15 answers

403 Error - Thats an error. Error: disallowed_useragent

I am trying to authorise a user for Google calendar API inside an IOS app. I am using the OAuth2 feature of Google to authenticate users. Authorisation page opens with a 403 error with the description: This user-agent is not permitted to make OAuth…
Subbu
  • 541
  • 1
  • 4
  • 5
45
votes
2 answers

Create a span element inside another element using javascript

This code is from google calender. var dateString = (startJSDate.getMonth() + 1) + "/" + startJSDate.getDate(); if (!startDateTime.isDateOnly()) { dateString += " @ " + startJSDate.getHours() + ":" + padNumber(startJSDate.getMinutes()); } …
Nicekiwi
  • 4,567
  • 11
  • 49
  • 88
44
votes
2 answers

Need good example: Google Calendar API in Javascript

What I'm trying to do: Add events to a google calendar from my site using javascript. What I can't do: Find a good tutorial/walk through/example for the google calendar api. All the documentation I've been able to find links back and forth between…
Gladclef
  • 687
  • 1
  • 8
  • 17
37
votes
3 answers

How do I connect to the Google Calendar API without the oAuth authentication?

I have been studying the Google Calendar API and the docs on authentication (http://code.google.com/apis/calendar/v3/using.html#auth). It seems that the use case mentioned here is writing an application that accesses the user's calendar. However, I…
Jon Hargett
  • 1,133
  • 2
  • 11
  • 19
36
votes
11 answers

How to build html link to a google calendar event?

Using the google calendar API v3, I added an event to a google calendar. Now I want to built an html link so that someone can click and view the calendar event. Here's what I have tried:
codingJoe
  • 4,713
  • 9
  • 47
  • 61
34
votes
3 answers

Is there a way to programmatically import ICS into Google Calendar?

I don't see any obvious way to import ICS files into Google Calendar from the API docs here: http://code.google.com/apis/calendar/developers_guide_protocol.html And I'd greatly prefer not to have to parse them myself just to send the appointments…
Joe Shaw
  • 22,066
  • 16
  • 70
  • 92
29
votes
2 answers

ICS timezone not working

I have made an ICS feed containing a long list of events. My timezone does not seem to work. In the sample below you see that my event should start 07:55:00 and end 09:30:00. This is what it should show in my calendar. Instead it shows 09:55:00 and…
simonbs
  • 7,932
  • 13
  • 69
  • 115
29
votes
9 answers

Why is Google Calendar API (oauth2) responding with 'Insufficient Permission'?

I'm doing a get request to the following URL (with {id} replaced with the id from the web interface): https://www.googleapis.com/calendar/v3/calendars/{id} A few assertions: The Authorize header is being correctly set with a valid access token…
rob_mccann
  • 1,237
  • 2
  • 11
  • 16
1
2 3
99 100