Sha256: cdc9558f649efa7c13aeb4b835f66fe354e18eaefc6f1988ed8b1088e4f0b072

Contents?: true

Size: 953 Bytes

Versions: 13

Compression:

Stored size: 953 Bytes

Contents

require_relative 'apis/rest.rb'
require_relative 'apis/streaming.rb'
require_relative 'apis/exploits.rb'

module Shodanz
  # There are 2 APIs for accessing Shodan: the REST API
  # and the Streaming API. The REST API provides methods
  # to search Shodan, look up hosts, get summary information
  # on queries and a variety of utility methods to make
  # developing easier. The Streaming API provides a raw,
  # real-time feed of the data that Shodan is currently
  # collecting. There are several feeds that can be subscribed
  # to, but the data can't be searched or otherwise interacted
  # with; it's a live feed of data meant for large-scale
  # consumption of Shodan's information.
  #
  # @author Kent 'picat' Gruber
  module API
    # REST API class.
    def self.rest
      REST
    end

    # Streaming API class.
    def self.streaming
      Streaming
    end

    # Exploits API class.
    def self.exploits
      Exploits
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shodanz-2.0.8 lib/shodanz/api.rb
shodanz-2.0.7 lib/shodanz/api.rb
shodanz-2.0.6 lib/shodanz/api.rb
shodanz-2.0.5 lib/shodanz/api.rb
shodanz-2.0.4 lib/shodanz/api.rb
shodanz-2.0.3 lib/shodanz/api.rb
shodanz-2.0.2 lib/shodanz/api.rb
shodanz-2.0.1 lib/shodanz/api.rb
shodanz-2.0.0 lib/shodanz/api.rb
shodanz-1.0.6 lib/shodanz/api.rb
shodanz-1.0.5 lib/shodanz/api.rb
shodanz-1.0.4 lib/shodanz/api.rb
shodanz-1.0.3 lib/shodanz/api.rb