MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / __init__

Method __init__

bmtools/tools/map/baidu_map/baidu_api.py:13–16  ·  view source on GitHub ↗
(self, ak: str, sk: str)

Source from the content-addressed store, hash-verified

11
12class BaiduMapAPI:
13 def __init__(self, ak: str, sk: str):
14 self.ak = ak
15 self.sk = sk
16 self.base_url = 'http://api.map.baidu.com'
17
18 def generate_url_with_sn(self, url: str) -> str:
19 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected