Skip to content

leishman/lyricgenius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyricgenius

Get song lyrics and metadata based on query

Installation

Add this line to your application's Gemfile:

gem 'lyricgenius'

And then execute:

$ bundle

Or install it yourself as:

$ gem install lyricgenius

Usage

Search for song information:

agent = LyricGenius::Song.new
song_information = agent.search "real slim shady"

Output:

{
    :title => "The Real Slim Shady Lyrics",
    :artist => "Eminem",
    :lyrics => "\n    \n  [Eminem]May I have your attention please\nMay I have your attention please
    Will the real Slim Shady please stand ...(REMAINDER OF LYRICS)...\nFuck it, let’s all stand up"
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Ruby gem that gets song lyrics based on query

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages