class_docstr: Baidu Geocoding API
  ===================
  Baidu Maps Geocoding API is a free open the API, the default quota
  one million times / day.
  
  Params
  ------
  :param location: Your search location you want geocoded.
  :param key: Baidu API key.
  :param referer: Baidu API referer website.
  
  References
  ----------
  API Documentation: http://developer.baidu.com/map
  Get Baidu Key: http://lbsyun.baidu.com/apiconsole/key
class_docstr_tok: ["Baidu","Geocoding","API","===================","Baidu","Maps","Geocoding","API","is","a","free","open","the","API",",","the","default","quota","one","million","times","\/","day",".","Params","--","--","--",":","param","location",":","Your","search","location","you","want","geocoded",".",":","param","key",":","Baidu","API","key",".",":","param","referer",":","Baidu","API","referer","website",".","References","--","--","--","--","--","API","Documentation",":","http",":","\/\/developer.baidu.com\/map","Get","Baidu","Key",":","http",":","\/\/lbsyun.baidu.com\/apiconsole\/key"]
code: def _build_params(self, location, provider_key, **kwargs):
      location = Location(location)
      params = {
          "location": str(location),
          "ret_coordtype": kwargs.get("coordtype", "wgs84ll"),
          "output": "json",
          "ak": provider_key,
      }
      if "lang_code" in kwargs:
          params["accept-language"] = kwargs["lang_code"]
  
      return params
  
file_path: geocoder/geocoder/baidu_reverse.py
imports: from __future__ import absolute_import
  import logging
  from geocoder.location import Location
  from geocoder.base import OneResult
  from geocoder.baidu import BaiduQuery
label_desc: Use image node_id 1 for calling the BaiduReverse obj's underlying member method code with example usage: obj._build_params(location, provider_key) and returns: params