bradoyler / GoogleCalReader-jquery-plugin

jQuery plugin to read from a public Google calendar

Home Page:http://bradoyler.github.io/GoogleCalReader-jquery-plugin/examples/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

jQuery plugin to read from a public Google calendar

http://bradoyler.github.io/GoogleCalReader-jquery-plugin/examples/


Languages

Language:JavaScript 100.0%