客户端库
我们建议使用客户端库,因为它们可提高安全性和语言集成,并支持用户授权。Merchant API 客户端库使用 gRPC,并且旨在与使用相同语言的代码示例搭配使用。
以下是我们最新的客户端库和代码示例:
子 API |
客户端库 |
代码示例 |
账号 |
|
转化次数 |
|
数据源 |
|
库存 |
|
本地 Feed 合作伙伴关系 (LFP) |
|
通知 |
|
产品 |
|
促销活动 |
|
配额 |
|
报告 |
|
评价 |
|
如需设置客户端库,请从 GitHub 下载并运行我们的某个代码示例。如需查看安装说明,请参阅左侧边栏中的语言页面。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-21。
[null,null,["最后更新时间 (UTC):2025-02-21。"],[[["Client libraries enhance security, integrate with your programming language, and facilitate user authorization."],["The Merchant API client libraries utilize gRPC and align with provided code samples."],["Current client libraries and code samples are available for Java and PHP across various sub-APIs like Inventories, Products, and Reports."],["To begin, download and execute a code sample from GitHub and refer to the language-specific setup instructions."]]],["Merchant API client libraries using gRPC are recommended for security, language integration, and user authorization. Libraries and code samples are available for Java, PHP, and Python across several sub-APIs, including Accounts, Data sources, Inventories, Products, Promotions, and Reviews. Additional libraries are available for the Conversions, Local feeds partnership, Notifications, Quota, and Reports sub-API but do not include code samples. The .NET and Go languages are listed, but code samples aren't available for any sub-API. Code samples can be downloaded from GitHub.\n"]]