A node.js package for grooveshark
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits ahead, 6 commits behind theycallmeswift:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
src
.gitignore
.travis.yml
README.md
package.json

README.md

build status

Grooveshark

This is a package for interacting with the Grooveshark V3 API using node.js.

Installation

npm install grooveshark

Usage

var gs = require('grooveshark')
  , client = new gs('your_api_key', 'your_api_secret');

client.authenticate('your_grooveshark_username', 'you_grooveshark_password', function(err) {
  client.request('someMethod', {param1: 'foobar', param2: 1234}, function(err, status, body) {
    if(err) {
      throw err
    }

    console.log(body);
  });
})