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
tags(size = 10) click to toggle source

Use this method to obtain a list of popular tags for the saved search queries in Shodan.

# File lib/shodan/clients/query.rb, line 21
def tags(size = 10)
  params = {}
  params[:size] = size
  get("/shodan/query/tags", **params)
end