I don't know much about the php gdata library. But I can propose a solution described from perspective of protocol. Basically, to retrieve an event with gCal:uid <[email protected]> belonging to calendar whose id is <calendar_id>, you should contruct a URL like this: http://www.google.com/calendar/feeds/<calendar_id>/private/full/<event_id> Then you send GET request to the address and an entry will be returned. >From your post, you already know the gCal:uid of the event you want to retrieve. So what you need to figure out is the calendar id to which the event belongs. It's just the username of Google account, if the calendar is a primary calendar. If the calendar is not primary, the process to get the non-primary calendar entry is described at http://groups.google.com/group/google-calendar-help-dataapi/msg/beb71a81bdf0789f?hl=en.
Gerald On Aug 19, 6:03 pm, Robert <[email protected]> wrote: > Hi, > > I am looking for a way to retrieve a single calendar event entry using > the UID field. So far, I could not find any documentation regarding > the Query API on that. > > Right now I am using the following code: > > myQuery.setStringCustomParameter("gCal:uid", uid); > getCalendardService().getFeed(myQuery, CalendarEventFeed.class); > > This does not throw any exception, but it does not work either :o) > > Any one would know how to correctly from a query object for the UID > field? I have look in this group and found no answers regarding > similar posts. > > Thanks in advance > > Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
