Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
使用用戶端程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google My Business API 用戶端程式庫可提供更完善的語言整合功能,並簡化使用者驗證程序。
使用 Google My Business API 前,您必須註冊應用程式並取得 OAuth 2.0 憑證。如要進一步瞭解如何開始使用 Google My Business API,請參閱「基本設定」。
注意:這些操作說明假設使用者使用類 Unix 環境。
用戶端程式庫下載
請前往「程式庫」頁面,取得最新版的 Google My Business API 用戶端程式庫。
Google My Business API 用戶端程式庫會使用 Google API 用戶端程式庫,處理錯誤、管理要求和回應、OAuth 和其他常見功能。
如果您目前無法下載所選程式設計語言的支援內容,可以使用探索文件協助自動產生自己的用戶端程式庫。
用戶端程式庫使用方式示例
請造訪 GitHub,查看及下載用戶端程式庫的完整範例。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-30 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-01-30 (世界標準時間)。"],[[["The Google My Business API client libraries offer better language integration and easier user authentication."],["You must register your application and get OAuth 2.0 credentials before using the Google My Business API, with setup details available in the Basic Setup guide."],["Client libraries can be downloaded from the Libraries page, and a discovery document is provided to assist in generating custom libraries for unsupported languages."],["For usage examples and complete samples, refer to the Google My Business samples on GitHub."]]],[]]