pleer
v0.0.5
Published
pleer.com api for nodejs
Downloads
4
Maintainers
Readme
pleer
pleer.com api for nodejs
Installation
$ npm install pleer
Use
var pleer = require('pleer');
Search Tracks
pleer.search('coldplay magic', function(err, res) {
console.log(res.tracks);
});
Get Track URL
//'12276558gSMj' = track_id
pleer.getUrl('12276558gSMj', function(err, res) {
console.log(res.url);
});
Get Track Info
//'12276558gSMj' = track_id
pleer.getInfo('12276558gSMj', function(err, res) {
console.log(res.data);
});
Get Track Lyrics
//'12276558gSMj' = track_id
pleer.getLyrics('12276558gSMj', function(err, res) {
console.log(res.text);
});
Get Top List
pleer.getTopList(function(err, res) {
console.log(res.tracks);
});
Get Suggest
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
License
MIT