An open API service indexing awesome lists of open source software.

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

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)
}
}
```