I have several hundred groups in my Google Apps for Business account. I want to batch update a bunch of settings so I downloaded the PHP client. I can't figure out how to provide the info to query and update the settings. It seems like everything is designed around the concept of a user logging in with a web browser. I registered the app at the API console under "Simple API Access" with "Key for server apps (with IP locking)". I don't seem to be able to make any queries though, I get permission denied.
Example URL: https://www.googleapis.com/groups/v1/groups/groupname@mydomain.com?key=MY_KEY_HERE'
Gives me:
<?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>required</code>
<location type="header">Authorization</location>
<internalReason>Login Required</internalReason>
</error>
</errors>
Is this supposed to be possible?