NAME
Geo::SypexGeo - API to detect cities by IP thru Sypex Geo database v.2
SYNOPSIS
use Geo::SypexGeo;
my $geo = Geo::SypexGeo->new( './SxGeoCity.dat' );
my $city = $geo->get_city( '87.250.250.203' );
say $city;
$city = $geo->get_city( '93.191.14.81', 'en' );
say $city;
DESCRIPTION
Sypex Geo is a database to detect cities by IP.
The database of IPs is included into distribution, but it is better to download latest version at download page.
The database is availible with a names of the cities in Russian and English languages.
This module now is detect only city name and don't use any features to speed up of detection. In the future I plan to add more functionality.
SOURCE AVAILABILITY
The source code for this module is available from Github at https://github.com/kak-tus/Geo-SypexGeo
AUTHOR
Andrey Kuzmin, <kak-tus@mail.ru>
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Andrey Kuzmin
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.