Get data from 'Google Calendars' - Interesting Calendars - google-calendar-api

Google has these awesome public calendars which you can subscribe to.
An example of it would be 'Festival'. So if there is some festival, your Google Calendar will automatically add it to your appointment.
Here is their help page http://support.google.com/calendar/bin/answer.py?hl=en&answer=37098
My question is, how can I get the date for any event?
I haven't found any url or rss feed to take that data. is there any JSON feed?

If you go the Calendar Setting of the interesting calendar, you can find the Calendar Address under Calendar Details.
There you should find the address in all formats (XML, ICAL and HTML) along with the Calendar ID.

Related

Tracking help center article link clicks in Google analytics

My company's support department uses freshdesk to handle our help desk tickets and also to host our solution center articles. I am trying to track when users click links to our help center articles that we put in our ticket replies. So far I've been trying to do this by using utm parameters, and creating a unique campaign for each article. I am running into difficulty programmatically accessing the text area where we type our replies to add the utm parameters to links before they are sent out. I am wondering if there is a better way to go about this that I'm not thinking of. I know this is pretty specific, but any ideas are very Appreciated!
Managing distinct campaign names for each help article may be a hassle. I'd suggest you turn to event tracking for this kind of task. You may have set up sending an event to analytics each time a link to help article is clicked and put the URL of the link to some of the event parameter e.g. 'event action' or 'event label'. So then you can get the event data in Behavior > Top events reports for each link
Some links for you to explore:
About Google Analytics Events
Tracking link clicks with Google Tag Manager
Event tracking with google analytics.js

Custom view google calendar Api

Is it possible to show google calendar Api custom view for example : morning,afternoon,evening rather than hours?
I want to use google calendar to create a planning table that show planning of all Employee Work Schedule so it's a Multi Calendar
thanks
The Google calendar API returns the data from Google calendar. let's say you have an event on your Google calendar. you can make a events.list request and the API will return a json data set containg the information about the events on the calendar.
the data is returned in raw json format not as a custom view any formatting of the data will need to be done by your application.

Full Calendar - Display import.calendar.google.com Calendar from Google

I am using FullCalendar (https://fullcalendar.io) to display a calendar widget on my website and displaying one of my public access Google Calendars succesfully - I have an ICS feed calendar which I would also like to display on the calendar - I dont think FullCalendar supports the sync with an ICS file which is a shame - so... I have created a 2nd Google Calendar which syncs with this ICS feed - I would like to get this 2nd Google Calendar to display on my FullCalendar calendar but I get an error as below:
Google Calendar API: Not Found Object { domain: "global", reason: "notFound", message: "Not Found" }
I think FullCalendar does not support the format of subscribed Google Calendars - e.g. ones in the format of: 123ABC#import.calendar.google.com - It seems ok with 123ABC#group.calendar.google.com only.
Does anyone know how I can get the subscribed calendar feed from Google Calendar into my FullCalendar?

Google Calendar API - How an attendee can edit its answer status?

I fetch some events from a user's calendar. For each of them, a Participation entity is creating from event's attendees. In my application, I want them to be able to edit their answer's status.
On the v3 API, the endpoint to edit an event is /calendars/{calendarId}/events/{eventId}, but I know only the {calendarId} of the guy who fetched the meetings, so the other attendees cannot edit their participation if the calendar is not shared amongst them... They must edit it in their own calendar. so how can I edit this informations without pulling it again from Google, hence going through all their calendars to pull the right event again, from their point of view ?
How it's possible to edit the answer status for them ?

Google Calendar feed format?

I am trying to create a calendar feed that is compatible with Google and FullCalendar.
What I find strange is that if you download and save the source of a Google calendar feed to a server it looks fine in the feed reader but no in the Google calendar.
view-source:http://www.google.com/calendar/feeds/usa__en#holiday.calendar.google.com/public/basic
Then saved to:
http://www.knewtv.com/real-estate/floorplans/SFZC_City_Center/googlecal-source.xml
Why won't this display in a Google calendar?
Strangely, Google Calendar cannot subscribe to feed in its own format. Your only option for subscribing is iCal (it says so when you click "add by url"). For importing, you can also use CSV.

Resources