GeoPlugin geocoding service, geocodes IP addresses

GeoPlugin (http://www.geoplugin.com) is a free-to-use IP-to-location geocoding service. However, they request users of their service to provide a link to their site using something like:

Geolocation by geoPlugin
package org.routamc.positioning

 Methods

geocode (array $location, array $options)

Try geocoding an IP address.

Parameters

$location

arrayParameters to geocode with, conforms to XEP-0080

$options

arrayImplementation-specific configuration

Returns

arraycontaining geocoded information