NAME

Mojolicious::Plugin::Geo - Mojolicious Plugin

SYNOPSIS

# Mojolicious
$self->plugin('geo');

# Mojolicious::Lite
plugin 'geo';

DESCRIPTION

Mojolicious::Plugin::Geo is a Mojolicious plugin. This plugin uses a geolocation server of an unknown provider. It is one of the more accurate I have found. I may add some free public ones later but have not had a chance.

METHODS

Mojolicious::Plugin::Geo inherits all methods from Mojolicious::Plugin and implements the following new ones.

geo

$self->geo('8.8.8.8')

Returns an object with basic geo data. Lat, Lon, City, Country, Postal Code etc..

Register plugin in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicio.us.