/greynoise

GreyNoise API wrapper for Ruby

Primary LanguageRubyMIT LicenseMIT

greynoise

Gem Version Build Status Coverage Status CodeFactor

GreyNoise API wrapper for Ruby.

Installation

gem install greynoise

Usage

require "greynoise"

# when given nothing, it tries to load your API key via ENV["GREYNOISE_API_KEY"] and `~/.config/greynoise/config`
api = GreyNoise::API.new
# or you can set it manually
api = GreyNoise::API.new(key: YOUR_API_KEY)

api.experimental.gnql(query)
api.experimental.gnql_stats(query)

api.noise.context(ip)
api.noise.quick(ip)
api.noise.multi_quick("1.1.1.1", "8.8.8.8")

api.meta.metadata

License

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