pleer.com api for nodejs
$ npm install pleer
var pleer = require('pleer');
pleer.search('coldplay magic', function(err, res) {
console.log(res.tracks);
});
//'12276558gSMj' = track_id
pleer.getUrl('12276558gSMj', function(err, res) {
console.log(res.url);
});
//'12276558gSMj' = track_id
pleer.getInfo('12276558gSMj', function(err, res) {
console.log(res.data);
});
//'12276558gSMj' = track_id
pleer.getLyrics('12276558gSMj', function(err, res) {
console.log(res.text);
});
pleer.getTopList(function(err, res) {
console.log(res.tracks);
});
pleer.getSuggest('coldplay', function(err, res) {
console.log(res.suggest);
});
This README.md is still being written. for more details visit http://pleer.com/api
MIT