Metadata-Version: 2.1
Name: PwnedPy
Version: 1.0.2019.5
Summary: Python Wrapper for Have I Been Pwned API
Home-page: https://github.com/navanchauhan/PwnedPy
Author: Navan Chauhan
Author-email: navanchauhan@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: json

# PwnedPy
A Python Wrapper for the Have I Been Pwned API

### Initialisation
```
import PwnedPy
```
or
```
import PwnedPy as pp
```
### Functions

| Function | Optional Values | Required Values | Example | Output |
|----------|-----------------|--------|---------|-----------|
| getAllBreaches | domain | None | breaches = PwnedPy.getAllBreaches(domain="adobe.com")| JSON |
| getBreaches | Truncated and Unverified | account | breaches = pp.getBreaches("navanchauhan@gmail.com", Truncated=True, Unverified=True) | JSON |
| getBreachesByDomain | Truncated and Unverified | account and domain | breaches = PwnedPy.getBreachesByDomain("navanchauhan@gmail.com", domain="dubsmash.com") | JSON |
| getPastes | None | account | breaches = pp.getPastes("navanchauhan@gmail.com") | JSON |


