add get_ipaddress()

Returns a dictionary containing data for a single IP address.

(quick and dirty pull request, not tested)