Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 878 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 878 Bytes

audioboo-ruby-oauth

Some examples using the Ruby OAuth gem to talk to the audioboom.com API.

Installation

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.

Usage

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