https://github.com/liamg/hackerone
Go HackerOne API Client
https://github.com/liamg/hackerone
api-client hackerone hackerone-api
Last synced: 6 months ago
JSON representation
Go HackerOne API Client
- Host: GitHub
- URL: https://github.com/liamg/hackerone
- Owner: liamg
- License: mit
- Created: 2022-04-09T18:54:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T16:09:39.000Z (over 1 year ago)
- Last Synced: 2025-05-07T02:25:39.501Z (8 months ago)
- Topics: api-client, hackerone, hackerone-api
- Language: Go
- Homepage: https://hackerone.com/
- Size: 32.2 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# hackerone
HackerOne API Client in Go.
Current supports the entire [Hackers API](https://api.hackerone.com/getting-started-hacker-api/#getting-started-hacker-api). Support for the _Customers_ API may be added in future if there is any demand.
Please see the [documentation](https://pkg.go.dev/github.com/liamg/hackerone) for further information.
## Usage Example
```go
package main
import (
"context"
"fmt"
"github.com/liamg/hackerone"
)
func main() {
h1 := hackerone.New("your-username-here", "your-api-key-here")
reports, _, _ := h1.Hackers.GetReports(context.TODO(), nil)
for _, report := range reports {
fmt.Println(report.Id)
}
}
```