Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
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 與用戶端程式庫,請參閱「使用用戶端程式庫進行驗證」。
使用用戶端程式庫
其他資源
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-20 (世界標準時間)。
[null,null,["上次更新時間:2026-05-20 (世界標準時間)。"],[],["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"]]