Skip to content

hamidrezaramzani/iran-locations-api

Repository files navigation

Iran Locations API

A simple API for finding provinces and cities of Iran.

Iran Locations API

General Information

  • This repository provides a RESTful API that allows users to retrieve a list of provinces and their corresponding cities within Iran. The API serves a comprehensive and accurate dataset, making it easy to access this information for applications that require geographic data related to provinces and cities of Iran. The web API is built with modern web technologies to ensure efficient and scalable access.
  • Many applications and projects need reliable geographic information about Iran's provinces and cities for various purposes such as:
    • User registration forms that require location-based input.
    • Logistics and delivery services that need to validate and track locations.
    • Administrative and governmental projects where geographical regions need to be organized.
  • Currently, developers might struggle to find up-to-date and easily accessible APIs with Iran-specific geographical data. This API provides a simple solution by offering accurate and structured information in a standardized format.
  • The main goal of this project is to create a lightweight and accessible web API that can be integrated into any project requiring Iranian geographic data. By using this API, developers can:
    • Simplify the process of managing geographical data.
    • Facilitate the development of localized apps and services that need this specific data.
    • Reduce the need for manually maintaining or updating large datasets of provinces and cities.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • NodeJS
  • React.js
  • Next.js

Features

  • Retrieve all provinces: get a complete list of all provinces (states) of Iran.
  • Get cities by province: Retrieve all cities within a province by simply searching with the province's name.
  • Search by province name or ID: easily find a specific province by providing either its name or unique identifier.
  • Multilingual support: find provinces and cities in two languages, providing flexibility for both Persian and English applications.

Project Status

Ongoing Work:

  • Performance optimization and load testing.
  • Documentation improvements to enhance user experience.

Future Plans:

  • Expanding the dataset to include more geographical information, such as district-level data.

Contributions:

  • Contributions are welcome! Please check the issues section for ongoing tasks or suggestions for new features.

Acknowledgement

I would like to thank:

  • the developers and contributors to this project for their valuable feedbacks and contributions.
  • the open-source community, whose tools and resources helped make this API possible.
  • public data sources for providing accurate and up-to-date information on Iran's provinces and cities.
  • the users and developers who offered suggestions and improvements during the development process.

Contact

LinkedIn   GitHub