GreyNoise API wrapper for Ruby.
gem install greynoise
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
The gem is available as open source under the terms of the MIT License.