https://github.com/dutchcoders/gogreynoise
Golang client for greynoise.io
https://github.com/dutchcoders/gogreynoise
Last synced: 3 months ago
JSON representation
Golang client for greynoise.io
- Host: GitHub
- URL: https://github.com/dutchcoders/gogreynoise
- Owner: dutchcoders
- License: other
- Created: 2018-08-12T09:48:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T09:52:59.000Z (almost 7 years ago)
- Last Synced: 2025-03-25T12:13:11.707Z (3 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gogreynoise [](http://godoc.org/github.com/dutchcoders/gogreynoise) [](https://goreportcard.com/report/dutchcoders/gogreynoise)
Golang client for Greynoise.io. The client currently only implements /context, but it is easy to extend other features.
## Usage
```
package greynoiseimport (
"fmt"
"net"greynoise "github.com/dutchcoders/gogreynoise"
)func ExampleExamples_output() {
client, err := greynoise.New(
greynoise.WithKey("{key}"),
)
if err != nil {
panic(err.Error)
}ip := net.ParseIP("8.8.8.8")
result, err := client.Context(ip)
if err != nil {
panic(err.Error)
}fmt.Printf("Actor: %s\n", result.Actor)
}
```## Contributors
* [Remco Verhoef](https://twitter.com/remco_verhoef)
## Copyright and license
Code released under [Apache License 2.0](LICENSE).