Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ferdiozer/turkey-city-regions

Current data of provinces, districts, districts and neighborhoods in Turkey
https://github.com/ferdiozer/turkey-city-regions

nodejs turkey-cities turkey-districts turkey-neighbourhoods turkey-post-codes

Last synced: about 1 month ago
JSON representation

Current data of provinces, districts, districts and neighborhoods in Turkey

Awesome Lists containing this project

README

        

[![NPM](https://nodei.co/npm/turkey-city-regions.png)](https://npmjs.org/package/turkey-city-regions)

# turkey-city-regions

If you want the list of Turkey regions, you can easily include it in your project and use it.

## Source data url
[https://postakodu.ptt.gov.tr](https://postakodu.ptt.gov.tr/Dosyalar/pk_list.zip)

How to use?: example

```
npm install turkey-city-regions
```

```
import TurkeyRegions turkey-city-regions

var allAreas = TurkeyRegions.getAllData // all data list

//Example
[ { il: 'ADANA',
ilce: 'ALADAĞ',
semt: 'ALADAĞ',
mahalle: 'AKPINAR MAH',
posta_kodu: '01720' }
....
]

```