This code provides a simple PHP interface to the Google Apps Provisioning API. It is intended for command-line scripting of Google Apps administrative functions, rather than web-based usage.
It is similar to the Zend Google Data library. This code was put together because that project lacks support for organizational units, and is not being developed.
You will need:
- PHP with the cURL extension loaded.
- A Google Apps account with administrator access, on a domain with API Access enabled.
Both of these APIs are deprecated, as of May 2013. At some point in the future, this project will be replaced by the newer Directory API.
Currently (June 2013), the Directory API is not listed as supporting service applications, and has no examples, which is why it is not being used.
- Google Apps Provisioning API - Deprecated May 2013.
- Google ClientLogin - Deprecated April 2012.