Last Updated: February 25, 2016
·
1.61K
· javichito

Song Lyrics for your Ruby apps - Lyricfy

I have built a gem that let you get a song lyrics very easily called Lyricfy.

Usage

Just add the gem to your Gemfile

gem 'lyricfy'

You'll need to create an instance of the Lyricfy::Fetcher class and call #search on that object with the artist name and song title respectively.

fetcher = Lyricfy::Fetcher.new
lyric = fetcher.search 'Coldplay', 'Viva la vida'
lyric.body.each { |line| puts line }

Profit!

You can also check out more configuration options and learn how does this work under the hood on Github. All contributions are welcome, this gem is in its very early days so i will need your help to make it amazing.