class_docstr: Geocoder using the Woosmap Address API.
  
  Documentation at:
      https://developers.woosmap.com/products/address-api/geocode/
  
  .. versionadded:: 2.4
class_docstr_tok: ["Geocoder","using","the","Woosmap","Address","API",".","Documentation","at",":","https",":","\/\/developers.woosmap.com\/products\/address-api\/geocode\/","..","versionadded",":",":","2.4"]
docstr: Return an address by location point.
  
  :param query: The coordinates for which you wish to obtain the
      closest human-readable addresses.
  :type query: :class:`geopy.point.Point`, list or tuple of ``(latitude,
      longitude)``, or string as ``"%(latitude)s, %(longitude)s"``.
  
  :param int limit: Maximum number of results to be returned.
      This will be reset to one if ``exactly_one`` is True.
  
  :param bool exactly_one: Return one result or a list of results, if
      available.
  
  :param int timeout: Time, in seconds, to wait for the geocoding service
      to respond before raising a :class:`geopy.exc.GeocoderTimedOut`
      exception. Set this only if you wish to override, on this call
      only, the value set during the geocoder's initialization.
  
  :param str language: The language in which to return results.
  
  :param str country_code_format: Default country code format
      in responses is Alpha3.
      However, format in responses can be changed
      by specifying components in alpha2.
      Available formats: ``alpha2``, ``alpha3``.
  
  :rtype: ``None``, :class:`geopy.location.Location` or a list of them, if
      ``exactly_one=False``.
docstr_tok: ["Return","an","address","by","location","point",".",":","param","query",":","The","coordinates","for","which","you","wish","to","obtain","the","closest","human-readable","addresses",".",":","type","query",":",":","class",":","`","geopy.point.Point","`",",","list","or","tuple","of","``","(","latitude",",","longitude",")","``",",","or","string","as","``","``","%","(","latitude",")","s",",","%","(","longitude",")","s","''","``",".",":","param","int","limit",":","Maximum","number","of","results","to","be","returned",".","This","will","be","reset","to","one","if","``","exactly_one","``","is","True",".",":","param","bool","exactly_one",":","Return","one","result","or","a","list","of","results",",","if","available",".",":","param","int","timeout",":","Time",",","in","seconds",",","to","wait","for","the","geocoding","service","to","respond","before","raising","a",":","class",":","`","geopy.exc.GeocoderTimedOut","`","exception",".","Set","this","only","if","you","wish","to","override",",","on","this","call","only",",","the","value","set","during","the","geocoder","'s","initialization",".",":","param","str","language",":","The","language","in","which","to","return","results",".",":","param","str","country_code_format",":","Default","country","code","format","in","responses","is","Alpha3",".","However",",","format","in","responses","can","be","changed","by","specifying","components","in","alpha2",".","Available","formats",":","``","alpha2","``",",","``","alpha3","``",".",":","rtype",":","``","None","``",",",":","class",":","`","geopy.location.Location","`","or","a","list","of","them",",","if","``","exactly_one=False","``","."]
code: def reverse(
      self,
      query,
      *,
      limit=None,
      exactly_one=True,
      timeout=DEFAULT_SENTINEL,
      language=None,
      country_code_format=None,
  ):
      """
      Return an address by location point.
  
      :param query: The coordinates for which you wish to obtain the
          closest human-readable addresses.
      :type query: :class:`geopy.point.Point`, list or tuple of ``(latitude,
          longitude)``, or string as ``"%(latitude)s, %(longitude)s"``.
  
      :param int limit: Maximum number of results to be returned.
          This will be reset to one if ``exactly_one`` is True.
  
      :param bool exactly_one: Return one result or a list of results, if
          available.
  
      :param int timeout: Time, in seconds, to wait for the geocoding service
          to respond before raising a :class:`geopy.exc.GeocoderTimedOut`
          exception. Set this only if you wish to override, on this call
          only, the value set during the geocoder's initialization.
  
      :param str language: The language in which to return results.
  
      :param str country_code_format: Default country code format
          in responses is Alpha3.
          However, format in responses can be changed
          by specifying components in alpha2.
          Available formats: ``alpha2``, ``alpha3``.
  
      :rtype: ``None``, :class:`geopy.location.Location` or a list of them, if
          ``exactly_one=False``.
      """
  
      latlng = self._coerce_point_to_string(
          query, output_format="%(lat)s,%(lon)s"
      )
      params = {
          "latlng": latlng,
          "private_key": self.api_key,
      }
      if language:
          params["language"] = language
      if country_code_format:
          params["cc_format"] = country_code_format
      if limit:
          params["limit"] = limit
      if exactly_one:
          params["limit"] = 1
  
      url = "?".join((self.api, urlencode(params)))
      logger.debug("%s.reverse: %s", self.__class__.__name__, url)
      callback = partial(self._parse_json, exactly_one=exactly_one)
      return self._call_geocoder(url, callback, timeout=timeout)
  
file_path: geopy/geopy/geocoders/woosmap.py
imports: import collections.abc
  from functools import partial
  from urllib.parse import urlencode
  from geopy.exc import GeocoderQueryError, GeocoderServiceError, GeocoderUnavailable
  from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
  from geopy.location import Location
  from geopy.util import logger
label_desc: Use image node_id 4 for calling the Woosmap obj's underlying member method code with example usage: obj.reverse(query) and returns: self