wilaya_commune 0.0.1 copy "wilaya_commune: ^0.0.1" to clipboard
wilaya_commune: ^0.0.1 copied to clipboard

A Dart/Flutter package that provides structured data and models for Algerian wilayas and communes.

wilaya_commune #

A Flutter package that allows developers to retrieve Wilaya and Commune information in Algeria based on geographic coordinates (latitude and longitude).

It connects to the Wilaya/Commune API provided by Deploily.cloud, and requires an API key.

✨ Features #

  • Get commune by latitude and longitude
  • Get wilaya by latitude and longitude
  • Clean and easy-to-use API
  • Built with Dio and json_serializable

🔐 API Key #

To use this package, you need an API key from Deploily.cloud.

  1. Create an account on https://deploily.cloud
  2. Go to the Wilaya/Commune API section
  3. Generate your API key

Use the key like this:

final client = WilayaCommuneClient(apiKey: 'your_api_key_here');
1
likes
130
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart/Flutter package that provides structured data and models for Algerian wilayas and communes.

License

MIT (license)

Dependencies

dio, flutter, json_annotation

More

Packages that depend on wilaya_commune