HackerOne API Client in Go.
Current supports the entire Hackers API. Support for the Customers API may be added in future if there is any demand.
Please see the documentation for further information.
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)
}
}