
    =h;                          S r SSKJr  S rS rg)z3Performs requests to the Google Maps Elevation API.    )convertc                 v    S[         R                  " U5      0nU R                  SU5      R                  S/ 5      $ )a  
Provides elevation data for locations provided on the surface of the
earth, including depth locations on the ocean floor (which return negative
values)

:param locations: List of latitude/longitude values from which you wish
    to calculate elevation data.
:type locations: a single location, or a list of locations, where a
    location is a string, dict, list, or tuple

:rtype: list of elevation data responses
	locations/maps/api/elevation/jsonresults)r   shortest_path_requestget)clientr   paramss      gC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\googlemaps/elevation.py	elevationr      s8     700;<F??5v>BB9bQQ    c                     [        U5      [        L a  SU-  nO[        R                  " U5      nUUS.nU R	                  SU5      R                  S/ 5      $ )a  
Provides elevation data sampled along a path on the surface of the earth.

:param path: An encoded polyline string, or a list of latitude/longitude
    values from which you wish to calculate elevation data.
:type path: string, dict, list, or tuple

:param samples: The number of sample points along a path for which to
    return elevation data.
:type samples: int

:rtype: list of elevation data responses
zenc:%s)pathsamplesr   r   )typestrr   r   r	   r
   )r   r   r   r   s       r   elevation_along_pathr   (   sY     DzS$$$T* F
 ??5v>BB9bQQr   N)__doc__
googlemapsr   r   r    r   r   <module>r      s   $ : R"Rr   