Sha256: 3d900112a1e638fa1d8747ae79c0996c7934bb8cc9e0270561b2666e80b07c74

Contents?: true

Size: 934 Bytes

Versions: 3

Compression:

Stored size: 934 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.
  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

3 entries across 3 versions & 1 rubygems

Version Path
shodanz-1.0.2 lib/shodanz/api.rb
shodanz-1.0.1 lib/shodanz/api.rb
shodanz-1.0.0 lib/shodanz/api.rb