Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Lita handler that interfaces with Freesound.org

Topics

Resources

License

Packages

No packages published

Languages