shadowscatcher/shodan

Wrong Route - Stream Alerts API

mstark5652 opened this issue · 0 comments

Looks like the stream client is using the incorrect route for streaming alerts.

https://github.com/shadowscatcher/shodan/blob/master/stream.go#L90
Is using /shodan/alerts
And according to their documentation at https://developer.shodan.io/api/stream
the route should be /shodan/alert (no 's')