Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Streaming API Support #5

Open
jporter-dev opened this issue Jul 18, 2014 · 3 comments
Open

Streaming API Support #5

jporter-dev opened this issue Jul 18, 2014 · 3 comments

Comments

@jporter-dev
Copy link

After using the Ruby Shodan client for a while, I came to find that it fell short of features compared to the Python client. One important missing feature is the support for the Streaming Shodan API. It would be really great if this could be added.

@jporter-dev
Copy link
Author

Actually, I think the ruby client needs a general refresh. It's missing a lot of the newer API methods (view saved queries, streaming, etc...). I assume it hasn't been updated due to a lower user base or neglect.

@picatz
Copy link

picatz commented Dec 28, 2017

@joshporter1 The streaming API is supported with shodanz

I realize this is several years later. But, someone had to do something sometime.

Example Usage

require 'shodanz'

client = Shodanz.client.new

client.streaming_api.banners do |data|
  # do something with banner data
  puts data
end

@jporter-dev
Copy link
Author

@picatz thanks for the update! I ended up using the python client for that project in 2014, but I'll bookmark your repo for future reference! Thanks for putting in the effort 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants