https://github.com/stone/goshodan
goshodan is a work in progress thin wrapper around shodanhq.com API.
https://github.com/stone/goshodan
Last synced: about 1 year ago
JSON representation
goshodan is a work in progress thin wrapper around shodanhq.com API.
- Host: GitHub
- URL: https://github.com/stone/goshodan
- Owner: stone
- Created: 2013-06-05T09:49:19.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-02T12:23:32.000Z (almost 13 years ago)
- Last Synced: 2023-03-12T09:07:30.018Z (over 3 years ago)
- Language: Go
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
goshodan
========
[](https://drone.io/github.com/stone/goshodan/latest)
goshodan is a work in progress thin wrapper around shodanhq.com API.

You need a APIKEY to use this package.
Get one here: http://www.shodanhq.com/api_doc
A simple example using the package:
```Go
api := goshodan.NewWebAPI(APIKEY)
res, err := api.Search("apache", 1)
if err != nil {
panic(err)
}
for x := range res.Matches {
fmt.Printf("%s : %s\n", res.Matches[x].IP, res.Matches[x].RegionName)
}
```
Want to hack on goshodan? Awesome! Send me pull requests!
NOTE: The package are faaaar from perfect.