📚 go-hibp - Awesome Go Library for Third-party APIs

Go Gopher mascot for go-hibp

Simple Go binding to the "Have I Been Pwned" APIs

🏷️ Third-party APIs
📂 Third-party APIs
0 stars
View on GitHub 🔗

Detailed Description of go-hibp

go-hibp - Simple Go binding to the "Have I Been Pwned" API

GoDoc Go Report Card Build Status codecov Mentioned in Awesome Go buy ma a coffee

This Go library provides simple bindings to the excellent "Have I Been Pwned" (HIBP) API by Troy Hunt. It implements all 3 APIs that are provided by HIBP (Breaches, Pastes, Passwords). API key support for the private API endpoints are supported as well. go-hibp follows idiomatic Go style and best practice. It's only depends on the Go standard library and one of my other packages: niljson.

Usage

The library is fully documented using the excellent GoDoc functionality. Check out the GoDocs Reference for details on how to implement access to any of the 3 APIs with this package. You will also find GoDoc code examples there for each of those APIs.