I'm trying to use geocoder to get a desired output for altitude using latitudes and longitudes but it returns 'none' as output.
I've even tried testing geocoder with documentation codes to verify if outputs work but still receive 'none' as output.
As for Gmaps it simply doesn't want to display itself in jupyter notebook.
Note that I'm a python beginner and have tried to find what the issues are with no results.
import geocoder
g = geocoder.google('white house', method='places', key="API_KEY_HERE")
print(g.latlng)
g = geocoder.google([42.34539,-71.0696], method = 'elevation', key="API_KEY_HERE")
print (g.meters)
import gmaps
gmaps.configure(api_key='API_KEY_HERE')
fig = gmaps.figure()
fig
As stated before geocoder simply returns 'none' as input.
Gmaps simply returns the following output:
Figure(layout=FigureLayout(height='420px'))