No description
Find a file
Winni Neessen 1606565112
Merge pull request #4 from wneessen/breaches
BreachedAccount, better HTTP handling and rate limiting
2021-09-22 15:17:12 +02:00
.idea Initial checkin 2021-09-19 18:10:12 +02:00
examples Added BreachedAccount() to breaches API 2021-09-22 13:59:22 +02:00
.cirrus.yml Make GoLinter happy 2021-09-21 11:26:48 +02:00
.gitignore Initial commit 2021-09-19 17:58:02 +02:00
breach.go Moved apiCall() from breach to hibp. Also introduced rate limit handling 2021-09-22 15:00:29 +02:00
breach_test.go Skip tests if no API key is given where required 2021-09-22 15:16:02 +02:00
go.mod Initial checkin 2021-09-19 18:10:12 +02:00
hibp.go Moved apiCall() from breach to hibp. Also introduced rate limit handling 2021-09-22 15:00:29 +02:00
hibp_test.go Added BreachedAccount() to breaches API 2021-09-22 13:59:22 +02:00
LICENSE Initial commit 2021-09-19 17:58:02 +02:00
password.go Introducing the breaches API 2021-09-21 19:46:48 +02:00
password_test.go Introducing the breaches API 2021-09-21 19:46:48 +02:00
README.md Updated README.md and added examples/ 2021-09-21 20:42:06 +02:00

go-hibp - Simple go client for the HIBP API

Go Reference Go Report Card Build Status

This Go package provides an simple to use interface to the excellent "Have I Been Pwned" (HIBP) API by Troy Hunt.

Completeness: This packages is still WIP. So far the "Pwned Passwords" API and parts of the "Breaches" API have been implemented.

Usage

Have a look at the GoDocs Reference for details on how to implement access to the HIBP API with this package or check out the examples for the different APIs in the examples directory.