Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (28 sloc) 1.24 KB


A work in progress for trying to fork out a module from the Simplify Play Button project.

An easy way of getting a list of Spotify URIs based on data (top/loved tracks and weekly chart list of tracks).

Getting Started

Install the module with: npm install lastfm-spotify-urilist

var lsu = require('lastfm-spotify-urilist'),
    tracksProvider = new lsu.SpotifyURIProvider({
        api_key: process.env.SIMPLIFY_LASTFM_API_KEY,
        secret: process.env.SIMPLIFY_LASTFM_SECRET


(Coming soon)


Having the tracksProvider object, as defined above, use this simple code to get the loved tracks of a user:

tracksProvider.getURIList("loved", "mikaelb1", function (err, data) {
    console.log(data); // List of Spotify URIs from Loved tracks on 


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)


Copyright (c) 2012 Mikael Brevik
Licensed under the MIT license.