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
28
votes
3 answers

Send Meeting URL using Google Meet API

I want to create Java Spring application using google meet api where I'll generate a meeting link using which two people could join. Basically, it's like creating an event for two attendees (user could be of any domain) and send them meeting link…
Himanshu Arora
  • 688
  • 1
  • 9
  • 20
28
votes
5 answers

Getting events from calendar

My issue is, I have to make one demo application in which I wants to read the events of the Google calendar, for that I have manually inserted the events like the title of event, the time of events and the details of the whole events. now I need to…
Akash Thakkar
  • 998
  • 1
  • 10
  • 11
28
votes
2 answers

Create Google Calendar Events from Spreadsheet but prevent duplicates

I'm trying to write a script that will take data from a Google spreadsheet and create events in my Google calendar. I managed that fine but it produced duplicates every time I ran it. So now I'm trying to prevent that by creating a column 17 in the…
26
votes
3 answers

How do I create a reminder using Google Calendar API?

In the regular web UI for Google Calendar, when I add an event, I can choose to make it a "reminder", rather than an "event". I'm trying to replicate that with the Python API, but can't seem to find info on how to do that. All the documentation I'm…
user2671688
  • 643
  • 1
  • 6
  • 13
26
votes
4 answers

How do I set return_uri for GoogleWebAuthorizationBroker.AuthorizeAsync?

I am trying to use the Google Calendar API in my non-MVC .NET Web Application. (This appears to be an important distinction.) I’ve tried to use code from this example at Google and this example at Daimto along with some helpful hints from a number…
Bob Kaufman
  • 12,864
  • 16
  • 78
  • 107
26
votes
6 answers

Google Calendar API event insert always return 404 "not found" error

I tried the calendar insert example from here : https://developers.google.com/google-apps/calendar/v3/reference/events/insert#examples No matter which property i use, i always get the 404 "not found" error. Anyone can shed some light on this?…
Jianping Huang
  • 285
  • 1
  • 3
  • 9
25
votes
1 answer

Where to find credentials.json for Google API client?

The Google Calender Node.js example requires a file called "credentials.json": https://developers.google.com/calendar/quickstart/nodejs Relevant code: // Load client secrets from a local file. fs.readFile('credentials.json', (err, content) => { if…
Foobar
  • 7,458
  • 16
  • 81
  • 161
25
votes
2 answers

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently…
koustubh
  • 359
  • 1
  • 3
  • 4
25
votes
1 answer

Google API refresh token limit

I'm developing an application wherein I need to access multiple google calendars. All these calendars come from different users. And right now I am using OAuth2 for the syncing. But as I understand it, I can only generate 25 refresh tokens per…
25
votes
3 answers

Who owns calendars created by service account via Google Calendar API and how can they be shared?

Let's say I have a Google account some.account@gmail.com with project project-1 (configured as Google App Engine application in Google Developer Console) and a service account with e-mail address 12..@developer.gserviceaccount.com that belong to…
Drux
  • 11,992
  • 13
  • 66
  • 116
24
votes
5 answers

How to use Google Calendar API's Events.Insert command properly?

So I've been using the REST method of invoking Google's API. I need to insert events into a particular calendar whose ID I have. This is the POST request I'm…
AnonymousJohn
  • 1,587
  • 3
  • 12
  • 15
23
votes
8 answers

How can I find the Event Id of my Google Calendar event?

I created some Google Calendar events and now I would like to do some operations on them programmatically. Trouble is I don't have their IDs. When I go into the calendar and click on the event, there is nowhere where I can see the ID. Does anyone…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
23
votes
2 answers

Accessing Google Calendar API without authorization via JavaScript

I'm trying to access a public calendar (from Google Calendar) that contains national holidays: calendarId: 'pt_br.brazilian#holiday@group.v.calendar.google.com' As the calendar is public, I thought I would be able to access it using only the API…
fegemo
  • 2,475
  • 6
  • 20
  • 40
22
votes
1 answer

WEB_HOOK channel unavailable when trying to retrieve Google calendar events

I'm trying to use Push notifications for Google Calendar Callback endpoint is hosted on Heroku. appname.herokuapp.com is verified in Search Console and added to Google Console APIs & Services Allowed domains list. Request POST…
22
votes
2 answers

Get JSON from a public Google Calendar

How can I get a JSON with the events of a public Google Calendar? I have it's ID but no acess to it. I don't want to change its events, nor log in. I would like get a JSON from it to sync with my PHP/MySql database. Tried…
Rikard
  • 7,485
  • 11
  • 55
  • 92