This example shows how to add an event to a calendar from a VB program local to your computer. In that it communicates via pure XML, most of this could easily be abstracted any other similiarish language.
Coding Library: VB/VB.net

More Google Calendar Resources: