To help you with your implementation, we provide several libraries written in various languages which implement the calls to our API. You can use these in place of calls to the raw API to aid in your development.
See a list of open source projects which use Google Apps APIs.
These are the Google data API client libraries that include support for Google Apps Provisioning.
These are the Google data API client libraries that include support for Email Migration.