README.md in shodanz-2.0.0 vs README.md in shodanz-2.0.1
- old
+ new
@@ -1,7 +1,10 @@
# Shodanz
+[![Gem Version](https://badge.fury.io/rb/shodanz.svg)](https://badge.fury.io/rb/shodanz)
+[![Yard Docs](http://img.shields.io/badge/shodanz-docs-blue.svg)](https://www.rubydoc.info/gems/shodanz/)
+
A modern, async Ruby [gem](https://rubygems.org/) for [Shodan](https://www.shodan.io/), the world's first search engine for Internet-connected devices.
## Installation
$ gem install shodanz
@@ -22,12 +25,11 @@
require 'async'
require 'shodanz'
client = Shodanz.client.new
-# Asyncronously stream live banner info from shodan
-# and check the IP addresses against the expierimental
-# honeypot scoring service to find potential honeypots.
+# Asynchronously stream banner info from shodan and check any
+# IP addresses against the experimental honeypot scoring service.
client.streaming_api.banners do |banner|
if ip = banner['ip_str']
Async do
score = client.rest_api.honeypot_score(ip).wait
puts "#{ip} has a #{score * 100}% chance of being a honeypot"