Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

mica-eu/pleer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

pleer.com api for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published