Flask Geocoding Integration is a Python web application created by Tony Schneider that provides an interface for geocoding addresses using the Google Maps API. The application is built using the Flask microframework and includes a user interface that allows users to input an address and receive the corresponding latitude and longitude coordinates.
The application utilizes the Google Maps Geocoding API to retrieve the coordinates for a given address. The API key is required for usage and can be obtained from the Google Cloud Console. The application includes error handling for invalid or incomplete addresses and can handle multiple address formats.
- Python Version >= 3.7.4
- MySQL Server
- MySQL Workbench
- Please see requirements.txt file that includes all necessary pip installations!
- Import the mysql_structure.sql to the workbench
- Python3 -m pip install -r requirement.txt
- Define the following environment variables:
- MYSQL_IP
- MYSQL_USER
- MYSQL_PASS
- GEOCODING_API_KEY
- HOLIDAY_API_KEY
- Run python3 client.py
├── requirements.txt <- Requirements file (pip installations).
├── mysql_structure.sql <- All necessary SQL tables and schemas.
├── client.py <- Main file. This file executes the project.
|── wrappers
'── db_wrapper.py <- wraps all DB (MySQL) functionality.
- Tony Schneider - Programming - TonySchneider