class_docstr: Geocoder using the Bing Maps Locations API.
  
  Documentation at:
      https://msdn.microsoft.com/en-us/library/ff701715.aspx
class_docstr_tok: ["Geocoder","using","the","Bing","Maps","Locations","API",".","Documentation","at",":","https",":","\/\/msdn.microsoft.com\/en-us\/library\/ff701715.aspx"]
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 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 culture: Affects the language of the response,
      must be a two-letter country code.
  
  :param bool include_country_code: Sets whether to include the
      two-letter ISO code of the country in the response (field name
      'countryRegionIso2').
  
  :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","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","culture",":","Affects","the","language","of","the","response",",","must","be","a","two-letter","country","code",".",":","param","bool","include_country_code",":","Sets","whether","to","include","the","two-letter","ISO","code","of","the","country","in","the","response","(","field","name","'countryRegionIso2","'",")",".",":","rtype",":","``","None","``",",",":","class",":","`","geopy.location.Location","`","or","a","list","of","them",",","if","``","exactly_one=False","``","."]
code: def reverse(
      self,
      query,
      *,
      exactly_one=True,
      timeout=DEFAULT_SENTINEL,
      culture=None,
      include_country_code=False,
  ):
      """
      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 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 culture: Affects the language of the response,
          must be a two-letter country code.
  
      :param bool include_country_code: Sets whether to include the
          two-letter ISO code of the country in the response (field name
          'countryRegionIso2').
  
      :rtype: ``None``, :class:`geopy.location.Location` or a list of them, if
          ``exactly_one=False``.
      """
      point = self._coerce_point_to_string(query)
      params = {"key": self.api_key}
      if culture:
          params["culture"] = culture
      if include_country_code:
          params["include"] = "ciso2"  # the only acceptable value
  
      quoted_point = quote(point.encode("utf-8"))
      url = "?".join(
          (
              self.reverse_api % dict(point=quoted_point),
              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/bing.py
imports: import collections.abc
  from functools import partial
  from urllib.parse import quote, urlencode
  from geopy.exc import GeocoderAuthenticationFailure, GeocoderInsufficientPrivileges, GeocoderRateLimited, GeocoderServiceError, GeocoderUnavailable
  from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
  from geopy.location import Location
  from geopy.util import join_filter, logger
label_desc: Use image node_id 3 for calling the Bing obj's underlying member method code with example usage: obj.reverse(query) and returns: self