Route Optimization API 客户端库
本页介绍了如何开始使用 Route Optimization API 的客户端库。
如需详细了解客户端库,请参阅客户端库说明。
安装客户端库
设置身份验证
使用客户端库时,您可以使用应用默认凭据 (ADC) 进行身份验证。如需了解如何设置 ADC,请参阅为应用默认凭据提供凭据。如需了解如何将 ADC 与客户端库搭配使用,请参阅使用客户端库进行身份验证。
其他资源
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-23。
[null,null,["最后更新时间 (UTC):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"]]