Thanks Ray. I found out how to do it in programs. Basically, that CALENDAR_ID is included in the retrieved calendar feed. I wrote a post and published it to my blog: http://cglreport.zhenhua.info/2009/08/google-gdata-api-usage.html. Hope it helps others encountering the same problem.
Gerald On Sun, Aug 16, 2009 at 4:32 PM, Ray Baxter<[email protected]> wrote: > To create an event on a calendar, you post to > http://www.google.com/calendar/feeds/CALENDAR_ID/private/full > where CALENDAR_ID is the id of the calendar (looks like an email address) . > If you use the user's email address, it will post to their primary calendar, > same as using default as the calendar id. > You can parse the calendar id out of the urls or you can look it up in the > UI. > Ray > > On Fri, Aug 14, 2009 at 7:35 PM, Gerald <[email protected]> wrote: >> >> I am trying to use Google Calendar API. One question I have right now >> is how to publish an event to a non-primary calendar. >> In document at >> http://code.google.com/apis/calendar/docs/2.0/developers_guide_protocol.html#CreatingSingle, >> the post url of posting a new event is >> http://www.google.com/calendar/feeds/default/private/full. >> As a result, this will put the event to my primary calendar. I have >> not found any clue about how to specify the calendar that the new >> event will belong to. >> >> Thanks >> Gerald >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
