Search for cases where an email address has been included in a paste

pastes(emails, verbose = TRUE, agent = NULL)

Arguments

emails

A character vector of email addresses

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

Value

List of data.frames containing results

Details

According to the API docs (https://haveibeenpwned.com/FAQs#Pastes), "A "paste" is information that has been "pasted" to a publicly facing website designed to share content such as Pastebin."

Examples

pastes(c("steff.sullivan@gmail.com","stephanie.g.locke@gmail.com"))
#> $`steff.sullivan@gmail.com` #> Name #> 1 NA #> #> $`stephanie.g.locke@gmail.com` #> Name #> 1 NA #>