Google Calendar API using JSON now available

467 views
Skip to first unread message

Greg Robbins

unread,
Nov 17, 2011, 8:30:23 PM11/17/11
to gdata-objec...@googlegroups.com
For real now, a JSON-based Google Calendar API is now available, and is considered a replacement for the XML-based Calendar API:


If your application currently uses the older XML-based Calendar API, we encourage you to switch over to the new library and new API. The new versions are easier to use, and offer substantial performance advantages over the older API.


The new Objective-C API library is at http://code.google.com/p/google-api-objectivec-client/

Documentation for the new Calendar API protocol is at https://code.google.com/apis/calendar/v3/

Jo

unread,
Aug 23, 2012, 11:59:29 PM8/23/12
to gdata-objec...@googlegroups.com
Hi Greg,

I am trying to implement Calendar, How can use this JSON to display Calendar? Which UI component are you using for this? How you are passing this JSON to UI?

Thanks,
Jo

Greg Robbins

unread,
Aug 24, 2012, 2:15:11 AM8/24/12
to gdata-objec...@googlegroups.com
The API libraries do not provide any UI (aside from OAuth 2 sign-in controllers). 

The API libraries just return data from the authenticated user's account, and the app should use UIKit or AppKit views to display it. In an MVC pattern, the library just fetches server data and provides the app with a data model.

Jo

unread,
Aug 24, 2012, 1:24:09 PM8/24/12
to gdata-objec...@googlegroups.com
Hi Greg,

Thanks for the response. Can you please send me one link that shows setting JSON response to the UI? Also is there a filter option based on zip code while fetching data  through Google API?

Thanks,
Jo

Jo

unread,
Aug 24, 2012, 1:27:34 PM8/24/12
to gdata-objec...@googlegroups.com

Greg Robbins

unread,
Aug 26, 2012, 9:54:43 PM8/26/12
to gdata-objec...@googlegroups.com
There is a full sample application showing the JSON response provided as an Objective-C table data source:


Documentation specific to the Calendar API and a link to the discussion group for the API are at https://developers.google.com/google-apps/calendar/

Reply all
Reply to author
Forward
0 new messages