这是indexloc提供的服务,不要输入任何密码

geoip_api 1.0.3 copy "geoip_api: ^1.0.3" to clipboard
geoip_api: ^1.0.3 copied to clipboard

A lightweight Flutter/Dart package to fetch geolocation and IP address information.

🌍 GeoIP API - Flutter Package #

A lightweight Flutter/Dart package to fetch geolocation and IP address information using api.geoipapi.com.


✨ Features #

  • Get user's public IP address
  • Get full geolocation details including:
    • IP, country, city, state, ZIP
    • Latitude & longitude
    • ASN (Autonomous System Number) info
    • Timezone, currency, and more

📦 Installation #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  geoip_api: <latest_version>

In your library add the following import:

import 'package:geoip_api/geoip_api.dart';

Preview #

Preview
1
likes
150
points
139
downloads

Publisher

verified publishersangamsingh.com.np

Weekly Downloads

A lightweight Flutter/Dart package to fetch geolocation and IP address information.

Repository (GitHub)

Topics

#location #geoip #geolocation #country #asn

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on geoip_api