egypt-cities
v0.0.7
Published
Egypt city is an easy package that allows you to get all Egyptian cities, And get all sub-areas for each city.
Downloads
10
Readme
Welcome to egypt-citis
package!
egypt-citis
is an easy to use Node.js library to allow you to get all egyptian cities and all nested areas!
At the moment, this package only supports cairo cities only. There are plans to extend this in the next version.
Install
npm install egypt-cities --save
Usage
var cities = require('egypt-cities');
Get all cities
cities.localCities()
Sample Response
A sample response or object that this module returns looks like this.
[ {
"city_name" : "القاهره"
},
{
"city_name" : "الجيزة"
},
{
"city_name" : "السادس من أكتوبر"
}
...
]
License
MIT.