svennergr / hackerone-api-client

Go HackerOne API Client

Home Page:https://hackerone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hackerone

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.

Usage Example

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

About

Go HackerOne API Client

https://hackerone.com/

License:MIT License


Languages

Language:Go 99.8%Language:Makefile 0.2%