wilaya_commune 0.0.1
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.
- Create an account on https://deploily.cloud
- Go to the Wilaya/Commune API section
- Generate your API key
Use the key like this:
final client = WilayaCommuneClient(apiKey: 'your_api_key_here');