hackerone

package module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 2 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Hackers *hackers.API
}

func New

func New(username, apiKey string) *API

Directories

Path Synopsis
_examples
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL