A package for utilising the Haveibeenpwned API
Project description
chibp
A package for interacting with the Haveibeenpwned API
Install package:
pip install chibp
Import the package:
import chibp
Example string request:
chibp.get("example@chrisdunne.net", API_KEY)
Example list request:
chibp.get(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)
Example full response:
chibp.get_full("example@chrisdunne.net", API_KEY)
Example list full response:
chibp.get_full(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)
Example get breaches:
chibp.get_breaches()
Example get breached site:
chibp.get_breach("MyFitnessPal")
Example get pastes for email:
chibp.get_pastes("example@chrisdunne.net", API_KEY)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chibp-1.2.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
chibp-1.2.0-py3-none-any.whl
(2.9 kB
view hashes)