Closed Fcmam5 closed 4 years ago
As a user, I would like to get a wilaya by a daira name.
It would be nice If I can pass either the name (In French), the name in English or in Arabic (You can have the beautified dataset from: algeria-api/data/WilayaList.json).
Examples:
getWilayaByDairaName('ZIAMAH MANSOURIAH')
getWilayaByDairaName('زيامة منصورية')
should return WilayaObject {name: "Jijel" ....}.
If the daira is not found return undefined.
undefined
@Fcmam5 I will take those two then
As a user, I would like to get a wilaya by a daira name.
It would be nice If I can pass either the name (In French), the name in English or in Arabic (You can have the beautified dataset from: algeria-api/data/WilayaList.json).
Examples:
getWilayaByDairaName('ZIAMAH MANSOURIAH')
getWilayaByDairaName('زيامة منصورية')
should return WilayaObject {name: "Jijel" ....}.
If the daira is not found return
undefined
.