https://github.com/daehee/hacktivity
Go library for fetching HackerOne Hacktivity reports
https://github.com/daehee/hacktivity
Last synced: 6 months ago
JSON representation
Go library for fetching HackerOne Hacktivity reports
- Host: GitHub
- URL: https://github.com/daehee/hacktivity
- Owner: daehee
- License: mit
- Created: 2020-12-21T19:28:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T18:21:46.000Z (over 5 years ago)
- Last Synced: 2025-09-29T12:58:09.504Z (9 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hacktivity [](https://goreportcard.com/report/github.com/daehee/hacktivity)
Go library for fetching HackerOne Hacktivity reports.
## Install
```
go get github.com/daehee/hacktivity
```
## Usage
The `hacktivity` package provides a `Client` for fetching Hacktivity reports:
```go
// Init hacktivity client
client := NewClient()
// Get the 100 most recent Hacktivity reports
urls, err := client.GetLatestReports(100)
// Fetch a Hacktivity report by URL
hacktivity, err := client.GetHacktivity("https://hackerone.com/reports/1019891")
```
Returns API response as `Hacktivity` struct:
```go
type Hacktivity struct {
URL string
ReportID int
Title string
Description string
Severity string
Researcher string
Vendor string
VendorHandle string
CVEs []string
SubmittedAt string
DisclosedAt string
}
```
## License
[MIT License](LICENSE)