Skip to content
Lita handler that interfaces with Freesound.org
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
Gemfile
LICENSE
README.md
Rakefile
lita-freesound.gemspec

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.