R/account_breaches.R
account_breaches.Rd
Search for data breaches associated with one or more accounts.
account_breaches(accounts, truncate = FALSE, domain = NULL, as_list = TRUE, verbose = TRUE, agent = NULL)
accounts | A character vector of email addresses or account names |
---|---|
truncate | Whether responses should be trimmed to just name of breached site |
domain | Search a specific domain |
as_list | whether to return results as a list (default, TRUE) or a data.frame, When returned as a data.frame only accounts with at least one breach are returned. |
verbose | whether to message about http errors and re-tries |
agent | agent to be used as header in calls, by default "HIBPwned R pkg". # nolint |
List of data.frames containing results
Note that the package uses memoise
(https://github.com/r-lib/memoise)
with no timeout argument
so that results are cached inside an active R session.
#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#> $`steff.sullivan@gmail.com` #> NULL #> #> $`stephanie.g.locke@gmail.com` #> NULL #>