Ë
    Ï.f
  ã                   ó6   — d dl mZ d dlmZ dZ G d„ de«      Zy)é    )ÚDEFAULT_SENTINEL)Ú	Nominatim)ÚOpenMapQuestc                   óF   ‡ — e Zd ZdZdZdZeedddeddœˆ fd„
Zˆ fd„Zˆ xZ	S )	r   a›  Geocoder using MapQuest Open Platform Web Services.

    Documentation at:
        https://developer.mapquest.com/documentation/open/

    MapQuest provides two Geocoding APIs:

    - :class:`geopy.geocoders.OpenMapQuest` (this class) Nominatim-alike API
      which is based on Open data from OpenStreetMap.
    - :class:`geopy.geocoders.MapQuest` MapQuest's own API which is based on
      Licensed data.
    z/nominatim/v1/searchz/nominatim/v1/reversezopen.mapquestapi.comN©ÚtimeoutÚproxiesÚdomainÚschemeÚ
user_agentÚssl_contextÚadapter_factoryc          	      ó@   •— t         ‰	| �  |||||||¬«       || _        y)aS  

        :param str api_key: API key provided by MapQuest, required.

        :param int timeout:
            See :attr:`geopy.geocoders.options.default_timeout`.

        :param dict proxies:
            See :attr:`geopy.geocoders.options.default_proxies`.

        :param str domain: Domain where the target Nominatim service
            is hosted.

        :param str scheme:
            See :attr:`geopy.geocoders.options.default_scheme`.

        :param str user_agent:
            See :attr:`geopy.geocoders.options.default_user_agent`.

        :type ssl_context: :class:`ssl.SSLContext`
        :param ssl_context:
            See :attr:`geopy.geocoders.options.default_ssl_context`.

        :param callable adapter_factory:
            See :attr:`geopy.geocoders.options.default_adapter_factory`.

            .. versionadded:: 2.0
        r   N)ÚsuperÚ__init__Úapi_key)
Úselfr   r   r	   r
   r   r   r   r   Ú	__class__s
            €ú[C:\Users\user\Documents\project_loop\venv\Lib\site-packages\geopy/geocoders/openmapquest.pyr   zOpenMapQuest.__init__   s6   ø€ ôP 	‰ÑØØØØØ!Ø#Ø+ð 	ô 	
ð ˆ�ó    c                 óB   •— | j                   |d<   t        ‰| �	  ||«      S )zõ
        Construct geocoding request url. Overridden.

        :param str base_api: Geocoding function base address - self.api
            or self.reverse_api.

        :param dict params: Geocoding params.

        :return: string URL.
        Úkey)r   r   Ú_construct_url)r   Úbase_apiÚparamsr   s      €r   r   zOpenMapQuest._construct_urlK   s$   ø€ ð Ÿ™ˆˆu‰Ü‰wÑ% h°Ó7Ð7r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úgeocode_pathÚreverse_pathr   r   r   Ú__classcell__)r   s   @r   r   r      s;   ø„ ñð *€LØ*€Lð %Ø$Ø)ØØØ(Ø ö1÷f8ð 8r   r   N)Úgeopy.geocoders.baser   Úgeopy.geocoders.nominatimr   Ú__all__r   © r   r   ú<module>r'      s   ðÝ 1Ý /à
€ôP8�9õ P8r   