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');

Libraries

wilaya_commune