navanchauhan / Pwned

A CLI for checking if your email has been pwned
Apache License 2.0
3 stars 3 forks source link

old API #3

Open grguthrie opened 3 years ago

grguthrie commented 3 years ago

won't work with the current V3 API.

shinenelson commented 3 years ago

the v3 API added authentication and stopped serving data for free due to abuse of the API. You will now require an API Key to access the API.

A quick look at the useful forks of this project shows that https://github.com/AlNotSteve/Pwned is 4 commits ahead which adds the extra step to use the HIBP API Key. If you are looking to use a variant of this specifically, then you should probably use the script from the fork.

PS : This script is not in compliance with the API rules for setting the user agent string. If you are looking for other projects that implement the HIBP API, you can find them on the API/Consumers page.