Shutterstock
A gem for interfacing with the shutterstock API. See the documentation for more info http://api.shutterstock.com/
Installation
Add this line to your application's Gemfile:
gem 'shutterstock'
And then execute:
$ bundle
Or install it yourself as:
$ gem install shutterstock
Usage
Add your config settings to an initializer, such as config/initializers/shutterstock.rb
Shutterstock.configure do |config|
config.username = 'xxx'
config.password = 'xxx'
end
Currently this gem only supports searching for images. Usage:
client = Shutterstock::Client.new
trees = client.search('tree')
Contributing
- Fork it
- 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 new Pull Request