Using EventKit to read Google Calendar ical file - ios

I have a public Google Calendar and I'm trying to integrate it into my App. Essentially I want the Google Cal to be a UI where users can update it and it would reflect in the App.
I'm trying to figure out a way to best parse the Google Calendar. Things I'm thinking of:
Use the Google Calendar API- however is there a way to get the events in JSON format?
Using the public iCal link provided by Google Calendar- is it possible to parse this using EventKit ? If users update the Google Cal, will the iCal link also update ?
Any other suggestions would be amazing !

You can integrate google calendar as you have described into an APP here i the documentation and example projects; https://developers.google.com/google-apps/calendar/v3/reference/
I am not sure why you need the events in JSON format. I integrated the calendar API into my IOS app without putting anything in JSON format.
Yes iCal will update (on Apple products it does)

Related

Is it possible to display a google calendar in a kivy app?

I am trying to make an app as a school project/hobby with kivy, but I am struggling with how to add a google calendar display in the kivy app. I want to be able to display a google calendar and link it as well. I understand the API and how to add events using python, but I don't know how to display the calendar.
You can use the kivyMD library that has a Date Picker widget.
There is a mini YouTube tutorial too..

Is there any way to use a URL field across google calendar and ios calendar

I want to add a URL to an event on a google calendar through the calendar API. This calendar will often be viewed on a iphone.
Google provide a source field that can be used to link back to the source. Apple provide a URL field in which a URL can be written. But neither of these is shown on the other's platform.
Is there any way of getting either of these to show on the other's platform? Or is there another way of attaching a link to an event? I know that I can write the url in the description (google) or notes (apple) field and this is shown on both platforms, but I was looking for a better way as the description field is already somewhat crowded...
I have tried google for any information, but all I get with relevant search terms are pages to do with syncing between apple and google (source and url are search terms used for that as well)
Unfortunately Google Calendar doesn't support iCal's URL field, and neither does the API. As you've found, for the time being the description / notes field is your best option.

Adding custom calendar to the Google calendar using ios?

I have tried using EKCalendar. But I am not able to create calendar using EKCalendar on Gmail and Outlook. Then I have done some analysis to create google calendar using iOS, found a solution as Google Calendar API. Is there any other way to sync google calendar and creating calendar from apple calendar to google and adding custom events to google calendar from iPad? please give some solutions regarding this!
I don't know how to edit a Google calendar using IOS (and I think it's not possible, except using Safari Browser which is not practical) but to synchronize it : https://support.google.com/calendar/answer/151674?hl=en

Sync using Google calendar APIs Objective-C

I have iOS calendar app and i need to sync it with google calendar.
I need sync as the following steps:
1-Full sync with google calendar one time only.
2-Incremental sync with google every 1 min.
I read google calendar documentation and google support incremental sync by pass "syncToken" parameter.
The problem:
"syncToken" does NOT available on objective-c library.
Anybody have same issue or ideas what's happening?
The GTLQueryCalendar class makes syncToken available as a dynamic property:
https://code.google.com/p/google-api-objectivec-client/source/browse/trunk/Source/Services/Calendar/Generated/GTLQueryCalendar.m#49

How to Sync Google Calendar in ios application?

I am working on a iphone app, in which i have created a calendar and added events on it. but now i have to add these events on Google calendar. After a long search , i didn't found any good ways to do this. Please Help me.

Resources