lib/shodan/clients/host.rb
# Search Shodan using the same query syntax as the website and use facets
# to get summary information for different properties.
Search Shodan using the same query syntax as the website and use facets
to get summary information for different properties.
Search Shodan using the same query syntax as the website and use facets to get summary information for different properties .
def search(query = "", facets: {}, page: 1, minify: true, **params)
        params[:query] = query
        params = turn_into_query(params)
        facets = turn_into_facets(facets)
        params[:page] = page
        params[:minify] = minify
        get("/shodan/host/search", **params.merge(facets))
      end
def search ( query = "" , facets : { } , page : 1 , minify : true , ** params ) params [ :query ] = query params = turn_into_query ( params ) facets = turn_into_facets ( facets ) params [ :page ] = page params [ :minify ] = minify get ( "/shodan/host/search" , ** params . merge ( facets ) ) end
Search Shodan using the same query syntax as the website and use facets
to get summary information for different properties.
Search Shodan using the same query syntax as the website and use facets to get summary information for different properties .
query
facets
page
minify
params