spysex

Spyse API wrapper for Ruby

MIT License

Downloads
8.7K
Stars
4
Committers
1

spysex

A dead simple Spyse API wrapper for Ruby.

  • Notes:
    • API v4 is supported.
    • This wrapper does not support all the API endpoints.

Installation

gem install spysex

Usage

require "spysex"

# when given nothing, it tries to load your API key via ENV["SPYSE_API_KEY"]
api = Spyse::API.new
# or you can set them manually
api = Spyse::API.new("foo bar")

api.domain.get("example.com")
api.domain.search(search_params)

api.ip.get("1.1.1.1")
api.ip.search(search_params)

License

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