This content originally appeared on DEV Community and was authored by Samuel Tumdedo
I was researching to use Amazon location service and I wanted to validate addresses.
I have limited knowledge on Node.js and JavaScript. May someone convert the python code to JavaScript or Node.js:
Geocoding with Amazon Location Service
Here is an example of calling the Amazon Location Service Places API using the AWS SDK for Python (Boto3). This uses the search_place_index_for_text method:
python code below:
Response = location.search_place_index_for_text(
IndexName = ‘explore.place’
Text = “Boston, MA”)
location_response = Reponse[“Results”]
print(location_response)
Thank you for the help.
This content originally appeared on DEV Community and was authored by Samuel Tumdedo
Samuel Tumdedo | Sciencx (2022-07-15T23:25:14+00:00) Address validation. Retrieved from https://www.scien.cx/2022/07/15/address-validation/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.