Program to detect the distance to the nearest city based on the coordinates indicated when running the program.
View Documentation: nearest_city_distance Documentation
git clone https://github.com/awacero/nearest_city_distance.git
cd nearest_city_distance/
conda env create -f environment.yml
conda activate nearest_cityconda activate nearest_city
cd nearest_city_distance/
python manage.pyGo to URL: http://127.0.0.1:5000/get_nearest_city?lat=-2.71&lon=-78.56&token=clavemuysecreta
If the program execution is successful, it should be displayed:
- Distance
- City
- Province or State
cd PATH_PROJECT
pytest