https://github.com/wneessen/go-hibp
🔑 Go bindings to the HIBP API
https://github.com/wneessen/go-hibp
go golang golang-library golang-package hacktoberfest hibp hibp-api hibpwned
Last synced: 12 months ago
JSON representation
🔑 Go bindings to the HIBP API
- Host: GitHub
- URL: https://github.com/wneessen/go-hibp
- Owner: wneessen
- License: mit
- Created: 2021-09-19T15:58:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T09:59:05.000Z (about 2 years ago)
- Last Synced: 2024-07-31T20:53:19.515Z (almost 2 years ago)
- Topics: go, golang, golang-library, golang-package, hacktoberfest, hibp, hibp-api, hibpwned
- Language: Go
- Homepage:
- Size: 128 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- fucking-awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- awesome-go-with-stars - go-hibp - 10-04 | (Third-party APIs / Utility/Miscellaneous)
- awesome-go-cn - go-hibp - hibp) (第三方api / 实用程序/Miscellaneous)
- awesome-go-extra - go-hibp - 09-19T15:58:01Z|2022-06-10T07:19:13Z| (Third-party APIs / Fail injection)
- awesome-go-cn - go-hibp - hibp) (第三方api / 实用程序/Miscellaneous)
- awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- awesome-go - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs. (Third-party APIs / Utility/Miscellaneous)
- awesome-go-plus - go-hibp - Simple Go binding to the "Have I Been Pwned" APIs.  (Third-party APIs / Utility/Miscellaneous)
README
# go-hibp - Simple Go binding to the "Have I Been Pwned" API
[](https://pkg.go.dev/github.com/wneessen/go-hibp)
[](https://goreportcard.com/report/github.com/wneessen/go-hibp)
[](https://cirrus-ci.com/github/wneessen/go-hibp)
[](https://codecov.io/gh/wneessen/go-hibp)
[](https://github.com/avelino/awesome-go)

This Go library provides simple bindings to the excellent
"[Have I Been Pwned](https://haveibeenpwned.com/API/v3)" (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](https://github.com/wneessen/niljson).
## Usage
The library is fully documented using the excellent GoDoc functionality. Check out the
[GoDocs Reference](https://pkg.go.dev/github.com/wneessen/go-hibp) 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.