Skip to content

A Lita handler that returns requested songs from (Rap) Genius.

License

Notifications You must be signed in to change notification settings

t33chong/lita-genius

Repository files navigation

lita-genius

Build Status Coverage Status

lita-genius is a handler for Lita that returns requested songs from Genius (formerly known as Rap Genius).

Installation

Add lita-genius to your Lita instance's Gemfile:

gem "lita-genius"

Configuration

In order to use this plugin, you must obtain a Genius client access token.

Lita.configure do |config|
  config.handlers.genius.access_token = "YOUR ACCESS TOKEN GOES HERE"
end

Usage

Using the genius command will return the top Genius result for your query. Song titles and lyrics are both valid types of search strings.

<me>   lita: genius weeknd montreal
<lita> A sample from “Laisse Tomber Les Filles” originally performed by France Gall.
<lita> The Weeknd - Montreal | http://genius.com/songs/61962

<me>   lita: genius runnin through the 6 with my woes
<lita> Drake first used this moniker in “Jodeci Freestyle” — a single released in the lead-up to his album Nothing Was The Same.  On the album, the phrase is also referenced in “From Time”, during a monologue by Baka. Over time Drake has made the line a recurring theme in songs such as “0 to 100”. “Know yourself”/know thyself is also an aphorism that has been attributed to a number of ancient Greek sages, including Socrates, Heraclitus and Pythagoras. Care first about the greatest perfection of the soul. — Socrates
<lita> Drake - Know Yourself | http://genius.com/songs/703654

License

MIT

About

A Lita handler that returns requested songs from (Rap) Genius.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages