Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A node.js package for grooveshark
CoffeeScript JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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);
  });
})
Something went wrong with that request. Please try again.