This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

apiseeds-lyrics

2.0.0 • Public • Published

Apiseeds | Lyrics

Is a simple module that provides lyrics from https://apiseeds.com/ directly into your js file in JSON format.

Requeriments

Method

getLyric

Params

  • apikey (String) [Required]
  • artist (String) [Required]
  • track (String) [Required]
  • callback (response,headers) (Function) [Required]

Installation

# Local installation
npm install -s apiseeds-lyrics
 
# Global installation
npm install -g apiseeds-lyrics
 

Example #1

'use strict';
 
var lyrics = require("apiseeds-lyrics");
 
const apikey = 'YOUR-API-KEY'; // Get it here => https://apiseeds.com/
 
lyrics.getLyric(apikey,"The Beatles","Yesterday",function(response,headers){
    console.log("Header", headers);
    console.log("Response",response);
});

Example #2

'use strict';
 
var lyrics = require("apiseeds-lyrics");
 
const apikey = 'YOUR-API-KEY'; // Get it here => https://apiseeds.com/
 
 
var processLiryc = function (response, headers) {
    console.log("Header", headers);
    console.log("Response", response);
}
 
lyrics.getLyric(apikey, "The Beatles","Hey Jude",processLiryc);

Important

Rate limit and credits are in the header response

Api Documentation

https://apiseeds.com/documentation/lyrics

Readme

Keywords

Package Sidebar

Install

npm i apiseeds-lyrics

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • jodacame