A ruby wrapper for the Meerkat API.
Add this line to your application's Gemfile:
gem 'meerkat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install meerkat
You must authenticate all requests with an api key (ask the Meerkat team).
You can configure like this:
Meerkat.configure do |config|
config.api_key = 'secret'
end
# Fetch all broadcasts as raw JSON.
Meerkat.broadcasts
# Fetch a specific broadcast information by ID.
b = Meerkat.broadcast('3cdbb566-cded-4170-86d9-fbdb8bbcbcc9')
b.broadcaster.display_name
# "Jens Travolt"
- Fork it ( https://github.com/[my-github-username]/meerkat/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Please read the code of conduct !