Currently the structure of the data api's is basically a shallow
wrapper around the actual messages being passed back and forth.  It
seems like it could be made significantly more intuitive to use if
what is there was wrapped again in a set of classes that almost
completely hide what is happening in the background.  For example,
getting all of the events from the default calendar might look more
like this:

CalendarService myService = new CalendarService("exampleCo-
exampleApp-1");
myService.setUserCredentials("[EMAIL PROTECTED]", "mypassword");

Calendar DefaultCalendar = myService.GetCalendar();
foreach (CalendarEvent E in DefaultCalendar.GetEvents())
{
     Console.WriteLine(E.Title);
}


Notice how the classes act much more like native objects from the
framework.  Is this something people would like?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to