Do you look for API for wilaya/communes ? you are in the right place ;)
verbs | URI | Description |
---|---|---|
Get | /api/wilayas | Get all wilayas |
Get | /api/wilayas/:id | Get a specific wilaya by id |
Get | /api/wilayas/:id/communes | Get all communes from a specific wilaya by id |
Get | /api/communes | Get all communes |
Get | /api/communes/:id | Get a specific commune by id |
Get | /api/search/wilaya/:q | Search wilayas by name, arabic name |
Get | /api/search/commune/:q | Search communes by name, arabic name |
All contributions are welcome, please follow :
- PSR-2 Coding Standard
- Document any change in behaviour - Make sure the README.md and any other relevant documentation are kept up-to-date.
- One pull request per feature - If you want to do more than one thing, send multiple pull requests.
The list of wilayas/communes are collected from Wilaya-Of-Algeria