https://github.com/edoardottt/bugcrowd-go
Golang Bugcrowd API client
https://github.com/edoardottt/bugcrowd-go
api bug-bounty bugbounty bugcrowd bugcrowd-api bugcrowd-client golang security
Last synced: 4 months ago
JSON representation
Golang Bugcrowd API client
- Host: GitHub
- URL: https://github.com/edoardottt/bugcrowd-go
- Owner: edoardottt
- License: mit
- Created: 2022-09-26T16:01:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-10T09:11:00.000Z (7 months ago)
- Last Synced: 2025-02-01T03:10:28.650Z (4 months ago)
- Topics: api, bug-bounty, bugbounty, bugcrowd, bugcrowd-api, bugcrowd-client, golang, security
- Language: Go
- Homepage: https://edoardottt.com/
- Size: 43.9 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# bugcrowd-go
Simple Golang client to interact with Bugcrowd API. See the [API documentation here](https://docs.bugcrowd.com/api/2021-10-28/).Usage 🚀
-------
```Go
package mainimport (
"context"
"fmt"bugcrowd "github.com/edoardottt/bugcrowd-go"
"github.com/edoardottt/bugcrowd-go/pkg/api"
)func main() {
b := bugcrowd.New("username", "token")queryOptions := api.SubmissionQuery{}
pageOptions := api.PageOptions{}
submissions, _, err := b.Services.FetchSubmissions(context.TODO(), &queryOptions, &pageOptions)if err != nil {
fmt.Println(err)
}for _, submission := range submissions.Data {
fmt.Println(submission.ID)
}
}
```Contributing 🛠
-------Just open an [issue](https://github.com/edoardottt/bugcrowd-go/issues) / [pull request](https://github.com/edoardottt/bugcrowd-go/pulls).
Before opening a pull request, download [golangci-lint](https://golangci-lint.run/usage/install/) and run
```bash
golangci-lint run
```
If there aren't errors, go ahead :)Inspired by [liamg/hackerone](https://github.com/liamg/hackerone).
License 📝
-------This repository is under [MIT License](https://github.com/edoardottt/bugcrowd-go/blob/main/LICENSE).
[edoardottt.com](https://edoardottt.com/) to contact me.