A JS library providing a list of Algerian administrative areas with many useful APIs.
عن هذا المشروع
Le'Blad A library providing a list of Algerian administrative areas with many useful APIs. Getting started Usage Installation API getWilayaList(projection?: string[]) Returns a list of Algerian provinces (Wilayas) Arguments projection: string[] (optional) Array of Wilaya Object attributes to keep. Examples getWilayaByZipCode(zipCode: number, projection?: string[]) Returns a wilaya that includes the given zipCode. Arguments zipCode: number (required) A zip code projection: string[] (optional) Array of Wilaya Object attributes to keep Examples getWilayaByCode(wilayaCode: number, projection?: string[]) Takes a wilaya code (matricule) and returns the matching wilaya Arguments wilayaCode: number (required) the Wilaya's "matricule" projection: string[] (optional) Array of Wilaya Object attributes Examples getAdjacentWilayas(wilayaCode: number) Takes a wilaya code (matricule) and returns a list of adjacent wilayas codes Arguments wilayaCode: number (required) the Wilaya's "matricule" Examples getZipCodesForWilaya(wilayaCode: number) Takes a wilaya code (matricule) and returns a list of Respective Zip-Codes for that wilaya Arguments wilayaCode: number (required) the Wilaya's "matricule"
من ملف README الخاص بالمشروع على
GitHub
- النجوم
- 72
- التفريعات
- 22
- الرخصة
- MIT
- آخر تحديث
- 05/03/2023
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/leblad)