ip2location

IP2Location Lua Package

$ luarocks install ip2location

This Lua package provides a fast lookup of country, region, city, latitude, longitude, ZIP code,
time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name,
mcc, mnc, mobile brand, elevation, and usage type from IP address by using IP2Location database.
This package uses a file based database available at IP2Location.com. This database simply contains
IP blocks as keys, and other information such as country, region, city, latitude, longitude, ZIP code,
time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name,
mcc, mnc, mobile brand, elevation, and usage type as values. It supports both IP address in IPv4 and IPv6.

Versions

8.3.1-1208 days ago61 downloads
8.3.0-1275 days ago26 downloads
8.2.0-11 year ago84 downloads
8.0.3-12 years ago59 downloads

Dependencies

lua >= 5.3

Manifests