Route Optimization API 用戶端程式庫
本頁面說明如何開始使用 Route Optimization API 適用的用戶端程式庫。
如要進一步瞭解用戶端程式庫,請參閱「用戶端程式庫說明」。
安裝用戶端程式庫
設定驗證方法
使用用戶端程式庫時,您會使用應用程式預設憑證 (ADC) 進行驗證。如要瞭解如何設定 ADC,請參閱「提供應用程式預設憑證的憑證」。如要瞭解如何搭配用戶端程式庫使用 ADC,請參閱「使用用戶端程式庫進行驗證」。
其他資源
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-23 (世界標準時間)。
[null,null,["上次更新時間:2024-11-23 (世界標準時間)。"],[[["This page provides instructions for getting started with the Route Optimization API client libraries, covering installation and authentication setup for various programming languages like Java, Go, Node.js, Python, .Net, and PHP."],["Client libraries simplify interaction with the Route Optimization API by providing language-specific implementations and handling authentication using Application Default Credentials (ADC)."],["Installation instructions and setup guides for each supported language are linked for developers to quickly integrate the API into their projects."],["Developers can leverage provided resources like source code, package documentation, and issue trackers for further assistance and community support."],["Authentication with the API is streamlined through Application Default Credentials (ADC), ensuring secure access to Google Cloud services."]]],["Client libraries for the Route Optimization API can be installed using specific commands for each language: `go get cloud.google.com/go/maps` (Go), `npm install @googlemaps/routeoptimization` (Node.js), `pip install google-maps-routeoptimization` (Python), and `composer require google/maps-routeoptimization` (PHP). Java and .Net instructions are found on their respective documentation pages. Authentication is handled through Application Default Credentials (ADC). Each language also provides links to source code and issue trackers.\n"]]