class Shodan::Clients::Query
Public Instance Methods
list(**params)
click to toggle source
Use this method to obtain a list of search queries that users have saved in Shodan
.
# File lib/shodan/clients/query.rb, line 9 def list(**params) get("/shodan/query", **params) end
search(query, **params)
click to toggle source
Use this method to search the directory of search queries that users have saved in Shodan
.
# File lib/shodan/clients/query.rb, line 14 def search(query, **params) params[:query] = query params = turn_into_query(params) get("/shodan/query/search", **params) end