Some examples using the Ruby OAuth gem to talk to the audioboom.com API.
git clone https://github.com/Audioboo/audioboo-ruby-oauth.git
cd audioboo-ruby-oauth
bundle install
Edit consumer_key.rb to include your API consumer key & secret. You can obtain these from your audioBoom services page.
audioboo-oauth-cli.rb
is a command-line tool that uses 'out-of-band' verification, usually used in serverless apps like a desktop client.
bundle exec ruby audioboo-oauth-cli.rb
audioboo-oauth-webapp.rb
is a small Sinatra app that performs OAuth in typical fashion for a web app.
bundle exec ruby audioboo-oauth-webapp.rb
You can then view the web app at http://localhost:4567