Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 723 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 723 Bytes

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);
  });
})