Maps Datasets API 客户端库
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页介绍了如何开始使用 Maps Datasets API 的客户端库。
如需详细了解客户端库,请参阅客户端库说明。
安装客户端库
Node.js
如需了解详情,请参阅设置 Node.js 开发环境。
npm install @googlemaps/maps-platform-datasets
Python
如需了解详情,请参阅设置 Python 开发环境。
pip install --upgrade google-maps-mapsplatformdatasets
设置身份验证
使用客户端库时,您可以使用应用默认凭据 (ADC) 进行身份验证。如需了解如何设置 ADC,请参阅为应用默认凭据提供凭据。如需了解如何将 ADC 与客户端库搭配使用,请参阅使用客户端库进行身份验证。
使用客户端库
其他资源
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-09-13。
[null,null,["最后更新时间 (UTC):2025-09-13。"],[],["To utilize the Maps Datasets API client libraries, first, install the library using `npm install @googlemaps/maps-platform-datasets` for Node.js or `pip install --upgrade google-maps-mapsplatformdatasets` for Python. Set up Application Default Credentials (ADC) for authentication. Node.js and Python code examples show creating a dataset by instantiating a client, constructing a request, and making the request. Additional resources include links to source code, issue trackers, and Stack Overflow.\n"],null,[]]