Project

zoomeye-rb

0.0
Low commit activity in last 3 years
No release in over a year
ZoomEye API wrapper for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2
~> 0.8
~> 13.0
~> 3.10
~> 1.4
~> 6.0
~> 3.12
 Project Readme

zoomeye-rb

Ruby CI Coverage Status CodeFactor

ZoomEye API wrapper for Ruby.

Installation

gem install zoomeye

Usage

require "zoomeye"

# when given nothing, it tries to load your API key via ENV["ZOOMEYE_API_KEY"]
api = ZoomEye::API.new

# or you can set them manually
api = ZoomEye::API.new(api_key: "YOUR_API_KEY")

# Host search
api.host.search("port:80 nginx")
api.host.search("port:80 nginx", page: 7, facets: "app,device")

# Web search
api.web.search("wordpress")
api.web.search("wordpress", page: 1, facets: "app.os")

# Resource info
api.resource_info.get

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ninoseki/zoomeye-rb.

License

The gem is available as open source under the terms of the MIT License.