OK figured thsi out and posting here in case someone else has the same issue. replace the "basic" at the end to "full".
Your URL should look something like: http://www.google.com/calendar/feeds/.../full On May 4, 6:09 am, MightyMan <[email protected]> wrote: > Hello, > > I am a newbie to GCalendar API...so pardon me if this is a silly > mistake. but on using the C# sample code from Google to access a (non- > default) calendar, I am able to list out the event titles, but the > date-times are missing. Could someone help? > > Thanks much! > > This is the snippet of code: > > EventFeed calFeed = service.Query(query) as EventFeed; > > //now populate the calendar > while (calFeed != null && calFeed.Entries.Count > 0) > { > //look for the one with dinner time... > foreach (EventEntry entry in calFeed.Entries) > { > this.entryList.Add(entry); > > //This part works - I am able to list out the titles & creators > Console.WriteLine(entry.Title.Text); > > //this part is empty and throws an exception > if (entry.Times.Count > 0) > { > foreach (When w in entry.Times) > { > dates.Add(w.StartTime); > } > } > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
