Brandspotter
Sign up for your api credentials at: http://brandspotter.herokuapp.com API is currently invitation only.
Installation
Add this line to your application's Gemfile:
gem
And then execute:
$ bundle
Or install it yourself as:
$ gem install brandspotter
Usage
Create a new initializer: (config/initializers/brandspotter.rb)
Brandspotter.configure do |config|
config.user_token = ENV[
Methods
# create a new subscription
client = Brandspotter::Client.new
client.create_subscription(hashtag: 'hashtag')
# list all subscriptions
client = Brandspotter::Client.new
client.subscriptions
# find specific subscription
client = Brandspotter::Client.new
client.find_subscription(subscription_id)
# delete subscription
client = Brandspotter::Client.new
client.destroy_subscription(subscription_id)