ex_pwned v0.2.0 ExPwned.Pastes View Source

Module to interact with hibp API to retrive breaches data

Link to this section Summary

Functions

The API takes a single parameter which is the email address to be searched for. Unlike searching for breaches, usernames that are not email addresses cannot be searched for. The email is not case sensitive and will be trimmed of leading or trailing white spaces. The email should always be URL encoded

Link to this section Functions

Link to this function build_url(path_arg, query_params \\ %{}) View Source
Link to this function do_get(path_arg, query_params) View Source

The API takes a single parameter which is the email address to be searched for. Unlike searching for breaches, usernames that are not email addresses cannot be searched for. The email is not case sensitive and will be trimmed of leading or trailing white spaces. The email should always be URL encoded.

Examples

iex> ExPwned.Pastes.pasteaccount("abc@example.com")