ex_pwned v0.1.1 ExPwned.Pastes

Module to interact with hibp API to retrive breaches data

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

Functions

build_url(path_arg, query_params \\ %{})
do_get(path_arg)
do_get(path_arg, query_params)
pasteaccount(account)

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")