Geo::SypexGeo - API to detect cities by IP thru Sypex Geo database
use Geo::SypexGeo; my $geo = Geo::SypexGeo->new( './SxGeoCity.dat' ); my $city = $geo->get_city( '87.250.250.203' );
Sypex Geo is a database to detect cities by IP.
http://sypexgeo.net/
The database of IPs is included into distribution, but it is better to download latest version at http://sypexgeo.net/ru/download/.
The database is availible now only with a names of the cities in Russian language.
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.
The source code for this module is available from Github at https://github.com/kak-tus/Geo-SypexGeo.git
Andrey Kuzmin, <kak-tus@mail.ru>
Copyright (C) 2012 by Andrey Kuzmin
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Geo::SypexGeo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::SypexGeo
CPAN shell
perl -MCPAN -e shell install Geo::SypexGeo
For more information on module installation, please visit the detailed CPAN module installation guide.