
Returns the geolocation information in an object.Ĭonst console. Opens the IP2Location BIN data for lookup. Methodsīelow are the methods supported in this module. Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses. If you query an IPv6 address using the IPv4 BIN, you'll see the IPV6_NOT_SUPPORTED error. Use the IPv4 BIN file if you just need to query IPv4 addresses.
WWW IP2LOCATION INSTALL
To install this module type the following: If you don't have an existing API key, you can subscribe for one at the below: The complete database is available at under Premium subscription package.Īs an alternative, this module can also call the IP2Location Web Service. The database will be updated on a monthly basis for greater accuracy. prevent password sharing and abuse of service.analyze your web server logs to determine the countries of your visitors.select the geographically closest mirror.This module can be used in many types of projects such as: It supports both IP address in IPv4 and IPv6. 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, usage type, address type and IAB category as values. This module uses a file based database available at. This Node.js module 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, usage type, address type and IAB category from IP address by using IP2Location database.
