Skip to content

kossa/algerian-cities-api

Repository files navigation

Algerian Cities API

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

Contribution

All contributions are welcome, please follow :

  1. PSR-2 Coding Standard
  2. Document any change in behaviour - Make sure the README.md and any other relevant documentation are kept up-to-date.
  3. One pull request per feature - If you want to do more than one thing, send multiple pull requests.

Credits

The list of wilayas/communes are collected from Wilaya-Of-Algeria

About

API to use wilayas and communes of Algeria in Arabic and French language, included zip code and latitude/longitude

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published