用戶端程式庫
我們建議您使用用戶端程式庫,因為它們可提供更高的安全性和語言整合功能,並支援使用者授權。Merchant API 用戶端程式庫會使用 gRPC,並設計為與同一種語言的程式碼範例搭配使用。
以下是我們最新的用戶端程式庫和程式碼範例:
子 API |
用戶端程式庫 |
程式碼範例 |
客戶 |
|
轉換 |
|
資料來源 |
|
廣告空間 |
|
店面動態饋給合作夥伴計畫 (LFP) |
|
通知 |
|
產品 |
|
促銷 |
|
配額 |
|
報表 |
|
評論 |
|
如要設定用戶端程式庫,請從 GitHub 下載並執行其中一個程式碼範例。請參閱左側邊欄的語言頁面,瞭解安裝說明。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-21 (世界標準時間)。
[null,null,["上次更新時間: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"]]