deezer-public-api

This is Nodejs wrapper for the Deezer Public API that return promises.

View the Project on GitHub zaosoula/deezer-public-api

Deezer Public API wrapper

This is Nodejs wrapper for the Deezer Public API that return promises.

Installation

npm install deezer-public-api --save

Usage example

const DeezerPublicApi = require('deezer-public-api');
let deezer = new DeezerPublicApi();

//Search an artist
deezer.search.artist('ILYSH').then(function(result) {
   console.log(result);
});

//Get info for the given artist id
deezer.artist('58671252').then(function(result) {
   console.log(result);
});

//Get album list for the given artist id
deezer.artist.albums('58671252').then(function(result) {
   console.log(result);
});

Available methods

Album
Artist
Chart
Comment
Editorial
Episode
Genre
Infos
Options
Playlist
Podcast
Radio
Track
User