Skip to content

A node module for accessing the unofficial Grooveshark API

Notifications You must be signed in to change notification settings

raine/gs-more-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gs-more-coffee

An API library for the unofficial API (more.php) of Grooveshark.

Don't use this if you want to make API calls from a centralized location (like your web app). However, you might want to use this if you want to make calls without an API key due to the nature of your app, e.g. a command-line script.

This module was developed to satisfy needs of gstool so it may not implement the API thoroughly. It's pretty easy to extend, though.

Check the docs or code for the implemented methods.


Installation

npm install gs-more

Example

List URLs of the playlists for the logged-in user:

gs = require 'gs-more'

client = new gs.Client
client.login 'username', 'password', (err, user) ->
    if err
        console.log err
    else
        user.getPlaylists (err, playlists) ->
            console.log e.url for e in playlists

About

A node module for accessing the unofficial Grooveshark API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published