samurai.py (aka Samurai Pie) Ian Cohee (solidus)
A small python class that interfaces with shodanhq.com's API. The script can be run stand-alone, or you can import the class into your own script.
** Installation: easy_install shodan (Check your OS for easy_install deps)
** Execution: python samurai.py or (chmod 755) ./samurai.py
** Importing from samurai import * scanner = ShodanScanner(API_KEY)