Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

rhnvrm/lyric-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lyric-api

API that returns lyrics after searching on lyrics.wikia.com based on Artist and Song.

Deploy on Heroku

Deploy

Deployed at: https://lyric-api.herokuapp.com/api/ and http://128.199.199.233:8081/api/

Usage: https://lyric-api.herokuapp.com/api/find/artist/song
Example: http://lyric-api.herokuapp.com/api/find/John%20Lennon/Imagine

Sample Python Code

data = json.load(urllib2.urlopen('http://lyric-api.herokuapp.com/api/find/John%20Lennon/Imagine'))
print(data['lyric'])
print(str(data['lyric']).split())

NOTE: Please do not use this in Production as it is not allowed by the scraped website.

Use this at your own discretion. Lyrics are being scraped from publically available lyrics at lyrics.wikia.com

npm version

Module for fetching lyrics from lyrics.wikia.com using artist name and song.

Installation

npm install lyric-get

Usage

var l = require("lyric-get");

l.get("John Lennon", "Imagine", function(err, res){
    if(err){
        console.log(err);
    }
    else{
        console.log(res);
    }
});

About

🎼 API and NPM Module for fetching lyrics from lyrics.wikia.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •