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 Last.fm data (top/loved tracks and weekly chart list of tracks).
Install the module with:
npm install lastfm-spotify-urilist
var lsu =tracksProvider =api_key: processenvSIMPLIFY_LASTFM_API_KEYsecret: processenvSIMPLIFY_LASTFM_SECRET;
Having the tracksProvider object, as defined above, use this simple code to get the loved tracks of a user:
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.
Copyright (c) 2012 Mikael Brevik
Licensed under the MIT license.