class BinaryEdge::Client::DataLeaks

Public Instance Methods

email(email) click to toggle source

Verify how many dataleaks affected an specific email address.

@param [String] email Verify which dataleaks affect the target email.

@return [Hash]

# File lib/binaryedge/clients/data_leaks.rb, line 13
def email(email)
  _get("/query/dataleaks/email/#{email}") { |json| json }
end
info() click to toggle source

Get all available information about the dataleaks our platform keeps track.

@return [Hash]

# File lib/binaryedge/clients/data_leaks.rb, line 33
def info
  _get("/query/dataleaks/info") { |json| json }
end
organization(domain) click to toggle source

Verify how many emails are affected by dataleaks for a specific domain

@param [String] domain Verify which dataleaks affect the target domain.

@return [Hash]

# File lib/binaryedge/clients/data_leaks.rb, line 24
def organization(domain)
  _get("/query/dataleaks/organization/#{domain}") { |json| json }
end