node-deezer-api-client

    0.2.4 • Public • Published

    node-deezer-api-client

    Node js wrapper for deezer api - http://developers.deezer.com/api/ supports all GET methods which don't need OAuth authentication

    Usage

    npm install node-deezer-api-client

    Artist examples

     
    var deezer = require('node-deezer-api-client');
     
    var daftPunkArtistId = 27;
     
    // get Daft Punk - http://api.deezer.com/artist/27
    deezer.artist(daftPunkArtistId, function(artist) {
      console.log(artist.name);
    });
     
    // get Daft Punk albums - http://api.deezer.com/artist/27/albums
    deezer.artistAlbums(daftPunkArtistId, function(albums) {
      console.log(albums.data);
    });
     
    // get Daft Punk fans - http://api.deezer.com/artist/27/fans
    deezer.artistFans(daftPunkArtistId, function(fans) {
      console.log(fans.data);
    });

    Install

    npm i node-deezer-api-client

    DownloadsWeekly Downloads

    1

    Version

    0.2.4

    License

    MIT

    Last publish

    Collaborators

    • michalvich