query = gdata.calendar.service.CalendarEventQuery(<CALENDAR_ID>,
'private', 'full', None, None )

will get you all the events for a the given calender.

The calendar id is at:  entry.link[0].href.split("/")[-3] where entry
is an  entry in the entry list returned by GetAllCalendarsFeed.

Alternatively you should be able to do this:

gdata.calendar.service.CalendarService(entry.link[0].href)

I don't pull the actuall events into my app except as a list but the
data is similar.  It's not explicitly documented anywhere ( hence the
"Beta" )  but if you print out the actual atom xml and study it you'll
learn alot about the api. For instance in answer to your second
question is here ( this comes from an event list for a specified
calendar:

  <ns0:link 
href="http://www.google.com/calendar/event?eid=MTZrcnRlcDRkMHJuczRjaTd0Nm40ZDA0amMgYWx0amVyaW5nYUBt";
rel="alternate" title="alternate" type="text/html"/>
  <ns0:link 
href="http://www.google.com/calendar/feeds/altjeringa%40gmail.com/private/full/16krtep4d0rns4ci7t6n4d04jc";
rel="self" type="application/atom+xml"/>
  <ns0:link 
href="http://www.google.com/calendar/feeds/altjeringa%40gmail.com/private/full/16krtep4d0rns4ci7t6n4d04jc/63339331028";
rel="edit" type="application/atom+xml"/>

Here you have the request uri's for the html and the atom
representation of this event.

Hope that gets you going in the right direction....  Sorry if I'm not
clear, I'm still learning this.


Vance





On Mon, Feb 25, 2008 at 4:51 AM, shabda raaj <[EMAIL PROTECTED]> wrote:
>
>  I am trying to use the calendars API, I am reading the API at
>  http://code.google.com/apis/calendar/developers_guide_python.html and
>  at http://code.google.com/apis/calendar/developers_guide_protocol.html
>  . I can not see any method to retrive a specific calendar or a
>  specific event. There are methods to  1.  Retrieving all calendars
>  2. Retrieving only calendars that a user owns, but no methods to
>  retrieve a specific calendar. Similarly there are no methods to
>  retrieve a specific event. What am I missing. How can I retrieve a
>  specific calendar, or a specific event?
>
>  >
>



-- 
To pretend, I actually do the thing: I have therefore only pretended to pretend.
  - Jacques Derrida

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to