0.0
No commit activity in last 3 years
No release in over 3 years
Wrapper for webpurify.com image moderation api, built for my own needs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 4.0, < 6.0.0
~> 2.0.2
 Project Readme

WebpurifyApi

API Wrapper for http://webpurify.com image and video moderation api

Installation

Add this line to your application's Gemfile:

gem 'webpurify_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webpurify_api

Usage

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/

Contributing

  1. Fork it ( https://github.com/veilleperso/webpurify_api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request