0.0
No commit activity in last 3 years
No release in over 3 years
A Lita handler for interfacing with Freesound.org.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0

Runtime

>= 4.0
 Project Readme

lita-freesound

lita-freesound is a Lita handler that searches Freesound.org's multitudes of sounds and returns the top hit.

Installation

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

gem "lita-freesound"

Configuration

Required attributes

  • api_key (String) - The bot's Freesound API key. Get one here.

Add a line to your lita_config.rb with your Freesound API Key.

Lita.configure do |config|
  ...
  config.handlers.freesound.api_key = "FREESOUND_API_KEY_HERE"
  ...
end

Testing

To run rspec's tests, please add your Freesound API key to an environment variable called FREESOUND_KEY.

Usage

You: Lita, freesound cowbell
Lita: Cowbell - http://www.freesound.org/data/previews/75/75338_708954-hq.mp3

License

MIT