Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtu

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Youtu

http://open.youtu.qq.com/

Installation

Add this line to your application's Gemfile:

gem 'youtu'

And then execute:

$ bundle

Or install it yourself as:

$ gem install youtu

Run the generator

rails g youtu:install

rails g youtu:install will generated the youtu.rb intialize file in config/initialze/youtu.rb

Signature's default store is File storage,but you can using Redis to store signature(optional)

rails g youtu:redis_store

rails g youtu:install will generated the youtu.rb intialize file in config/initialze/youtu_redis_store.rb

Usage

And then you can refer to the following example to use it.

  image_url_params = {
    url: "imagePath"
    mode: 1
  }

  Youtu::Request.post("/youtu/api/detectface",image_url_params) do |response,request,result|
    data = JSON.parse(response.body)
  end

For more infomation, please read https://open.youtu.qq.com/welcome/developer#/api-summary

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gaogao1030/youtu.

FAQs

Package last updated on 23 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc