Skip to content

Generate json file for Turkish cities, districts and neighborhoods

License

Notifications You must be signed in to change notification settings

berkaycubuk/turkish-cities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turkish Cities

Generate json file for Turkish cities, districts and neighborhoods in seconds.

How it works?

This project is using xlsx data from https://postakodu.ptt.gov.tr/ and converts it into a json file.

Requirements

  • Python 3
  • openpyxl

How to run it?

  1. Download latest xlsx data from https://postakodu.ptt.gov.tr/
  2. Install python and required pip packages
  3. Update filename inside run.py
  4. Execute the run.py file

If everything goes well ouput.json file should be created(or updated if you deleted the old one) inside your folder.

I don't care is it updated or not, how can I download the data?

If you just want to use the latest generated data, you can just use output.json file.

About

Generate json file for Turkish cities, districts and neighborhoods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages