Ruby implementation of the rd.io API
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits behind spudtrooper:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.gitignore
CHANGES
Gemfile
LICENSE
Makefile
README
Rakefile
common.rb
create_access_token
dot-rdio
dot-rdio-access-token
dot-rdio_access_token
gen_api
gen_types
rdio-call

README

-*- org -*-

ABOUT

This is a ruby implementation of the rd.io API here:

http:/developer.rdio.com

USAGE

See the exmples for usage. You first must obtain a consumer key/secret pair described here:

http:/developer.rdio.com

You can user the ‘rdio-call’ script (strikingly similar to rdio’s python one) for exploring the api. Pass ‘-h’ argument to rdio-call to see the options. Here’s an example:

% ./rdio-call get keys=t7609753 -i { “result”: { “t7609753”: { “artist”: “Mogwai”, “name”: “White Noise”, ….

TESTS

In order to run the rests, you must define the following environmental variables to the appropriate values:

RDIO_KEY RDIO_SECRET

There is a sample .rc file in dot-rdio. You must also serialize an authorized access token to the file .rdio_access_token. This can be done with:

make .rdio_access_token

-or-

./create_access_token

There is a sample in dot-rdio_access_token.

CONTRIBUTORS

Thanks for the pull requests that have been merged to the following: