【文件属性】:
文件名称:ruby-investigate:OpenDNS Investigate API 的 Ruby 接口
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-12 22:33:24
Ruby
用于 OpenDNS 安全图的 Ruby API
用法
在您的 Ruby 脚本中,您可以像这样使用它:
require 'investigate'
inv = Investigate . new ( 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' )
# get domain categorization and status
inv . categorization ( 'amazon.com' )
# categorization and status on a list of domains with labels
domains = [ 'www.amazon.com' , 'www.opendns.com' , 'bibikun.ru' ]
inv . categorization ( domains , true )
# cooccurrenc
【文件预览】:
ruby-investigate-master
----investigate.gemspec(819B)
----LICENSE(1KB)
----Gemfile(106B)
----.rspec(42B)
----spec()
--------tests.rb(3KB)
--------spec_helper.rb(41B)
----.ruby-version(5B)
----.gitignore(24B)
----lib()
--------investigate.rb(4KB)
----README.md(1024B)