Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
NodeJS module for Rdio
JavaScript
branch: master
Failed to load latest commit information.
grunt Setup grunt.
.gitignore Initial commit.
.npmignore Release 1.5.0
Gruntfile.js Upgraded some stuff.
History.md Release 2.0.0
LICENSE Setup grunt.
package.json Release 2.0.0
rdio.js Refactor using OAuth2
readme.md Release 2.0.0

readme.md

Installation

npm install rdio --save

Usage

var Rdio = require('rdio');

var rdio = new Rdio({
  clientId: 'oauth2 app client ID',
  clientSecret: 'oauth2 app client secret',
  refreshToken: 'oauth2 user refresh token',
});

rdio.login(function(err) {
  if (err) throw err;
  rdio.call('currentUser', function(err, result) {
    if (err) throw err;
    console.log(result);
  });
});

To obtain the oauth2 (refresh) token for your Rdio user:

Something went wrong with that request. Please try again.