Wrapper for the Deezer API
npm install deezer-node-apiThis is Nodejs wrapper for the Deezer API that return promises.
js
var Deezer = require('deezer-node-api');
var dz = new Deezer();// Get info for the given album id
dz.getAlbum(302127).then(function(album) {
console.log(album);
});
// Find all the tracks that match the query 'eminem'
dz.findTracks('eminem').then(function(result) {
console.log(result);
});
// Find all the tracks from the album 'good things'
dz.findTracks({album: 'good things'}).then(function(result) {
console.log(result);
});
``