public_ip 0.1.0 copy "public_ip: ^0.1.0" to clipboard
public_ip: ^0.1.0 copied to clipboard

Get public ip, location and other details.

Used to get the public ip address of the user and to determine his approx location

Features #

->User IP address #

->ASN #

->ISP #

->Services #

->Country #

->State #

->City #

->Longitude #

->Latitude #

Getting started #

import 'package:public_ip/public_ip.dart' as publicIP;

Usage #

  print(await publicIP.getPublicIp());
  print(await publicIP.getASN());
  print(await publicIP.getISP());
  print(await publicIP.getCountry());
  print(await publicIP.getState());
  print(await publicIP.getLatitude());

For any queries or suggestions #

Contact: heyom7@gmail.com

3
likes
90
pub points
75%
popularity

Publisher

unverified uploader

Get public ip, location and other details.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, html, http

More

Packages that depend on public_ip