September 2018
Intermediate to advanced
266 pages
7h 26m
English
We now have an API key that we can use to hit the Google Places API. Copy it and open your Lambda in the Lambda console. Scroll down to Environment variables, and create a new variable with a key of GOOGLE_API_KEY, and paste the API key as the value. Make sure not to remove the other API key, which is for openWeatherMaps:

With our Google API key stored as an environment variable, we can create our request that we'll be sending to Google. The format of the API request URL is this:
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input={YOUR SEARCH}&inputtype=textquery&fields=formatted_address,name&key={YOUR ...Read now
Unlock full access