An implementation of the Echonest API for Node.js.
$ npm install echojs
$ export ECHONEST_KEY=<your API key>
Then to get started:
var echojs = require('echojs');
var echo = echojs({
key: process.env.ECHONEST_KEY
});
// http://developer.echonest.com/docs/v4/song.html#search
echo('song/search').get({
artist: 'radiohead',
title: 'karma police'
}, function (err, json) {
console.log(json.response);
});
MIT