New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-deezer-api-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-deezer-api-client

Node.js client for Deezer api

latest
Source
npmnpm
Version
0.2.4
Version published
Maintainers
1
Created
Source

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

Keywords

node

FAQs

Package last updated on 20 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts