Generate json file for Turkish cities, districts and neighborhoods in seconds.
This project is using xlsx data from https://postakodu.ptt.gov.tr/ and converts it into a json file.
- Python 3
- openpyxl
- Download latest xlsx data from https://postakodu.ptt.gov.tr/
- Install python and required pip packages
- Update filename inside run.py
- 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.
If you just want to use the latest generated data, you can just use output.json file.