Thursday, May 14, 2009

OAuth and ActiveResource / SoundCloud

In the last week i was creating a ruby api wrapper for SoundCloud. They have a restful API, which could work almost out of the box with ActiveResource, if ActiveResource would support OAuth.

So i've created the oauth-active-resource gem. With the help of some dynamic module/class generation magic, it's now as simple as it should be to create oauth/activeresource clients.

Have a look at the SoundCloud gem to find out how you can implement your own API wrappers based on the oauth-active-resource gem. If you've any questions feel free to contact me.

small bonus: Multipart file post to an active-resource
another bonus: I wrote a small script to sync rdoc documentation to a github project wiki.

Sunday, May 10, 2009

Hello World!

Welcome to my new blog!