0.0
No commit activity in last 3 years
No release in over 3 years
A Lita handler that returns requested songs from (Rap) Genius.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.3
 Project Readme

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