DuckGo is a RubyGem library and command line tool for searching with DuckDuckGo. By default, it puts out only the relevant information, but when told, it will dump all the data you could ask for. This tool aims to give access to most of the features from the official API.
Install with RubyGems:
sudo gem install duckgo
Then include this in your scripts:
require 'duckgo'
include DuckGo
# Your stuff here
Check out the documentation
If you use and enjoy DuckGo...