Hi Aaron, This won't be possible using a single feed. To list all the shared calendar in your organization here is what you will have to do:
- Query the list of users using the User Profiles API, you have to authenticate as an admin - For each user query the list of calendars it owns using " https://www.google.com/calendar/feeds/default/owncalendars/full" that way you will also get secondary calendars, you will have to use 2-legged oauth to fake a user authentication - For each calendar check its ACL to see if it is shared publicly using: " https://www.google.com/calendar/feeds/<calendar_id>/acl/full" it has to have an ACL entry for public, with free-busy or read. Alternatively you can query the feeds: "https://www.google.com/calendar/feeds/<calendar_id>/public/full" and "https://www.google.com/calendar/feeds/<calendar_id>/ public/free-busy" if you get an error (403 or similar) for both that means the calendar is not public :) Hope this helped! Cheers! * Nicolas * On Wed, Feb 23, 2011 at 7:43 PM, arenner <[email protected]> wrote: > Is it possible to list all calendars shared in a Google Apps Domain? I can > list all calendars I have subscribed to by using this url: > https://www.google.com/calendar/feeds/default. However, I would like to > create a calendar directory for our organization and list all calendars for > which the owner has chosen "Share this calendar with everyone in the > organization." > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Google Calendar Data API" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/calendar/community/forum.html > -- You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/calendar/community/forum.html
