Google released OpenSocial client libraries - REST and RPC support in the developer sandbox

You may’ve noticed how requests to fetch people, friends, or persistent data are formatted in Firebug on your iGoogle page. These requests follow the RPC specification that's part of OpenSocial. Google released four client libraries for using these REST and RPC requests as part of your own gadgets. With these (Java, PHP, Python, and Ruby) libraries, you can access social […]
You may’ve noticed how requests to fetch people, friends, or persistent data are formatted in Firebug on your iGoogle page. These requests follow the RPC specification that's part of OpenSocial. Google released four client libraries for using these REST and RPC requests as part of your own gadgets. With these (Java, PHP, Python, and Ruby) libraries, you can access social data without having to go through an iGoogle page (for instance, if you need to do offline processing), or even write an application without having to write any JavaScript.

To get started, download the client of your choice and try the included samples, which work on a variety of OpenSocial containers. (For reference, the iGoogle endpoints are http://sandbox.gmodules.com/api for REST calls, and http://sandbox.gmodules.com/api/rpc for RPC calls.) When you're ready to do your own iGoogle development, register your application to get the authentication keys you'll need to use the API.