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.
Top comments (1)
Ask on StackOverflow, dev.to it's not exactly the best place to look for answers.