ip2location 8.0.1 copy "ip2location: ^8.0.1" to clipboard
ip2location: ^8.0.1 copied to clipboard

A Dart library for querying IP geolocation information using the IP2Location database.

pub package

IP2Location Dart Package #

This Dart 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, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS) 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, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS) as values. It supports both IP address in IPv4 and IPv6.

This package can be used in many types of projects such as:

  • select the geographically closest mirror
  • analyze your web server logs to determine the countries of your visitors
  • credit card fraud detection
  • software export controls
  • display native language and currency
  • prevent password sharing and abuse of service
  • geotargeting in advertisement

The database will be updated in monthly basis for the greater accuracy. Free LITE databases are available at https://lite.ip2location.com/ upon registration.

The paid databases are available at https://www.ip2location.com under Premium subscription package.

Developer Documentation #

To learn more about installation, usage, and code examples, please visit the developer documentation at https://ip2location-dart.readthedocs.io/en/latest/.

0
likes
160
points
17
downloads

Publisher

verified publisherip2location.com

Weekly Downloads

A Dart library for querying IP geolocation information using the IP2Location database.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

csv, synchronized

More

Packages that depend on ip2location