def elevation(client, locations):
 params = {'locations': convert.shortest_path(locations)}
 return client._get('/maps/api/elevation/json', params)['results']

def elevation ( client , locations ) : params = { 'locations' : convert . shortest_path ( locations ) } return client . _get ( '/maps/api/elevation/json' , params ) [ 'results' ]
provides elevation data for locations provided on the surface of the earth .