
    N}bg                     >    d dl mZ d dlmZ dZ G d de          ZdS )    )DEFAULT_SENTINEL)	Nominatim)	PickPointc                   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   z~PickPoint geocoder is a commercial version of Nominatim.

    Documentation at:
       https://pickpoint.io/api-reference
    z/v1/forwardz/v1/reversezapi.pickpoint.ioNtimeoutproxiesdomainscheme
user_agentssl_contextadapter_factoryc          	      f    t                                          |||||||           || _        dS )ak  

        :param str api_key: PickPoint API key obtained at
            https://pickpoint.io.

        :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
            l/home/e360mart.nyusoft.in/public_html/e360mart_env/lib/python3.11/site-packages/geopy/geocoders/pickpoint.pyr   zPickPoint.__init__   sI    T 	!#+ 	 	
 	
 	
     c                 \    | 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PickPoint._construct_urlF   s*     uww%%h777r   )
__name__
__module____qualname____doc__geocode_pathreverse_pathr   r   r   __classcell__)r   s   @r   r   r      s          !L L %$%( 3 3 3 3 3 3 3j8 8 8 8 8 8 8 8 8r   r   N)geopy.geocoders.baser   geopy.geocoders.nominatimr   __all__r    r   r   <module>r'      sl    1 1 1 1 1 1 / / / / / /
K8 K8 K8 K8 K8	 K8 K8 K8 K8 K8r   