jQuery plugin to read from a public Google calendar
Branch: master
Clone or download
Latest commit a3858a6 May 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build update build Dec 6, 2014
examples Update index.html May 6, 2016
README.md adds future-events filter for #5 Dec 10, 2014
index.js date cleanup Dec 11, 2014

README.md

Google Calendar feed reader - plugin to get upcoming events from a public google calendar

Demo

Default Options

{
	calendarId:'en.usa#holiday@group.v.calendar.google.com',
	apiKey:'Public_API_Key',
	dateFormat: 'LongDate',
	errorMsg:'No events in calendar',
	maxEvents: 50,
	futureEventsOnly: true,
	sortDescending: true
}

Example

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.googlecalreader-1.1.js" type="text/javascript"></script>

<script type="text/javascript">
  $(function() {
    $('#eventlist').gCalReader({ calendarId:'your_calendar@group.v.calendar.google.com', apiKey:'your_public_api_key'});
  });
</script>
<div id="eventlist"></div>

Uses Google Calendar api endpoint @

https://developers.google.com/google-apps/calendar/v3/reference/events/list