Learn R Programming

HIBPwned (version 0.1.7)

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

Description

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

Usage

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

Run this code
# NOT RUN {
pastes(c("steff.sullivan@gmail.com","stephanie.g.locke@gmail.com"))
# }

Run the code above in your browser using DataLab