class_docstr: Mapbox Geocoding
  ================
  The Mapbox Geocoding API lets you convert location text into
  geographic coordinates (1600 Pennsylvania Ave NW → -77.0366,38.8971).
  
  API Reference
  -------------
  https://www.mapbox.com/developers/api/geocoding/
  
  Get Mapbox Access Token
  -----------------------
  https://www.mapbox.com/account
code: def _build_params(self, location, provider_key, **kwargs):
      base_params = {
          "access_token": provider_key,
          "country": kwargs.get("country"),
          "types": kwargs.get("types"),
      }
      # handle proximity
      proximity = kwargs.get("proximity", None)
      if proximity is not None:
          proximity = Location(proximity)
          # do not forget to convert bbox to mapbox expectations...
          base_params["proximity"] = "{longitude},{latitude}".format(
              longitude=proximity.longitude, latitude=proximity.latitude
          )
  
      bbox = kwargs.get("bbox")
      if bbox:
          bbox = BBox(bbox=bbox)
          # do not forget to convert bbox to mapbox expectations...
          base_params["bbox"] = "{west},{south},{east},{north}".format(
              west=bbox.west,
              east=bbox.east,
              south=bbox.south,
              north=bbox.north,
          )
  
      return base_params
  
imports: from __future__ import absolute_import
  from geocoder.base import OneResult, MultipleResultsQuery
  from geocoder.keys import mapbox_access_token
  from geocoder.location import BBox, Location
label_desc: Use image node_id 1 for calling the MapboxQuery obj's underlying member method code with example usage: obj._build_params(location, provider_key) and returns: base_params