API Reference
Google 提供多種工具,協助您開發能擷取 YouTube 數據分析資料的應用程式。
- 如果應用程式會擷取資料並儲存在資料倉儲,然後提供可用來篩選、排序及挖掘資料的工具,就應該使用 YouTube Reporting API。
- 應用程式應使用 YouTube Analytics API,根據使用者互動來擷取 YouTube 自訂報表。
工具 |
APIs Explorer |
您可以使用 APIs Explorer 測試 API 查詢並進行偵錯。這項工具可讓您授權要求和查看 API 回應。
- 對於大量報表,部分 API 回應會指定可擷取實際報表的網址。
- 針對指定查詢報表,API 回應包含實際的 YouTube 數據分析資料。
|
用戶端程式庫 |
Google API 用戶端程式庫提供多種程式設計語言版本,可大幅簡化您的 API 實作程序。另外,說明文件中的範例部分提供了幾個程式碼範例,這些範例會使用用戶端程式庫來擷取 YouTube 數據分析資料。
下方連結指向 Google API 用戶端程式庫的說明文件:
|
程式碼範例 |
youtube/api-samples GitHub 存放區包含所有可透過 範例 範例取得的程式碼範例。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-21 (世界標準時間)。
[null,null,["上次更新時間:2023-12-21 (世界標準時間)。"],[[["Google offers tools to facilitate the development of applications that access YouTube Analytics data."],["The YouTube Reporting API is designed for applications that store and analyze large amounts of data."],["The YouTube Analytics API is for applications retrieving customized reports from YouTube in response to user actions."],["The APIs Explorer allows users to test, debug API queries, authorize requests, and view API responses."],["Google API client libraries and code samples simplify API implementation, available for various languages like Go, Java, JavaScript, .NET, PHP, Python, and Ruby."]]],[]]