dart_ip 1.0.0

Dart native
Flutter Android iOS

This is a dart package about IP address. With this package, you can query the city of IP address offline

ip离线查询 Dart版本 #

下载数据 #

http://q9syw3px9.bkt.clouddn.com/17monipdb.datx

使用方法 #

import 'package:dart_ip/city.dart';

void main() {
  var city = City(datFile: '17monipdb.datx');
  print(city.find("0.0.0.0"));
  print(city.find("127.0.0.1"));
}

参考 #

https://github.com/ipipdotnet/datx-python

https://github.com/ipipdotnet/ipdb-python

http://www.ipip.net/download.html

0
likes
65
pub points
0%
popularity

This is a dart package about IP address. With this package, you can query the city of IP address offline

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

singingplayer@163.com

License

MIT (LICENSE)

More

Packages that depend on dart_ip