
    =h
                     (    S r SSKJr  SrS rSS jrg)z<Performs requests to the Google Maps Address Validation API.    )
exceptionsz(https://addressvalidation.googleapis.comc                 &    U R                  5       nU$ )z
Mimics the exception handling logic in ``client._get_body``, but
for addressvalidation which uses a different response format.
)json)responsebodys     oC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\googlemaps/addressvalidation.py_addressvalidation_extractr	      s    
 ==?DK    Nc                     SSU00nUb  X%S   S'   Ub  X5S   S'   USLd  Ub  XES'   U R                  S0 [        [        US9$ )	av  
The Google Maps Address Validation API returns a verification of an address
See https://developers.google.com/maps/documentation/address-validation/overview
request must include parameters below.
:param addressLines: The address to validate
:type addressLines: array 
:param regionCode: (optional) The country code
:type regionCode: string  
:param locality: (optional) Restrict to a locality, ie:Mountain View
:type locality: string
:param enableUspsCass For the "US" and "PR" regions only, you can optionally enable the Coding Accuracy Support System (CASS) from the United States Postal Service (USPS)
:type locality: boolean
addressaddressLines
regionCodelocalityFenableUspsCassz/v1:validateAddress)base_urlextract_body	post_json)_request_ADDRESSVALIDATION_BASE_URLr	   )clientr   r   r   r   paramss         r   addressvalidationr   /   sz      	L
F *4y,'(0y*%U"n&@#1 ??0"$?(B%+  - -r
   )NNN)__doc__
googlemapsr   r   r	   r    r
   r   <module>r      s!   $ C ! I ,!-r
   