Class: PassiveTotal::Client::Tracker
- Defined in:
- lib/passivetotal/clients/tracker.rb
Constant Summary
Constants inherited from Base
Base::BASE_URL, Base::HOST, Base::VERSION
Instance Method Summary collapse
-
#search(query:, type:) ⇒ Hash
Retrieves hosts that employ user tracking mechanisms served from another given host.
Methods inherited from Base
Constructor Details
This class inherits a constructor from PassiveTotal::Client::Base
Instance Method Details
#search(query:, type:) ⇒ Hash
Retrieves hosts that employ user tracking mechanisms served from another given host. api.passivetotal.org/api/docs/#api-Trackers-GetV2TrackersSearch
15 16 17 18 19 20 21 22 |
# File 'lib/passivetotal/clients/tracker.rb', line 15 def search(query:, type:) params = { query: query, type: type, }.compact _get("/trackers/search", params) { |json| json } end |