0.3.0 • Published 6 years ago

deezer-node-api v0.3.0

Weekly downloads
29
License
MIT
Repository
github
Last release
6 years ago

Deezer API wrapper

NPM version Build pass Coverage Status

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

Installation

npm install deezer-node-api --save

Usage example

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);
});

Available methods

  • getAlbum(albumId)
  • getArtist(artistId)
  • findTracks(options, index, order)
  • findAlbums(query, index)
  • findArtists(query, index)

Testing

npm test
0.3.0

6 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago