API Wrapper for http://webpurify.com image moderation api
Add this line to your application's Gemfile:
gem 'webpurify_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install webpurify_api
image = WebpurifyApi::Image.new(api_key: 'XXX', live: false)
res = image.check(image_url)
puts image.status(res['imgid']).inspect
See API docs for more informations: http://www.webpurify.com/image-moderation/documentation/
- Fork it ( https://github.com/veilleperso/webpurify_api_/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