-
File Structure:
-
flask-api.py --> MAIN FLASK FILE
-
api_bp.py --> blueprint for routing and etc
-
api_python.py --> script for dealing with request json
-
get_address_details.py --> calling of api endpoints
-
Request:
{
"address" : "# xxxxxxxxxxxxxxxxxx,Bengaluru, Karnataka 560008" ,
"output_format" : "json"
}
Response:
{
"Data": {
"address": "xxxxxxxxxxxxxxxxxx,Bengaluru, Karnataka 560008",
"coordinates": {
"lat": 4412.9658286,
"lng": 7447.63948169999999
}
},
"Message": "Successfull",
"status": true
}
- By - SOMIL JAIN