導入指南
本系列指南說明如何使用 YouTube Data API (v3) 執行多種不同類型的函式。其中包含說明、程式碼範例,以及用於填入 API Explorer 查詢範例的連結。
閱讀本指南時,請注意下列事項:
-
請盡可能將 v3 API 查詢範例連結至 API Explorer,並填入查詢中顯示的值。這些範例可協助您輕鬆提交測試查詢並查看回應範例。
-
部分範例要求需要授權。在「API Explorer」表單頂端附近有一個啟用 OAuth 2.0 授權的小小工具。
-
如要在應用程式中使用 YouTube Data API,您必須先取得授權憑證。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-02-23 (世界標準時間)。
[null,null,["上次更新時間:2023-02-23 (世界標準時間)。"],[[["This guide series demonstrates how to utilize the YouTube Data API (v3) for various functions, providing descriptions, code samples, and pre-filled API Explorer queries."],["Sample v3 API queries in this guide link to the APIs Explorer, allowing users to test queries and view responses quickly."],["Some sample requests necessitate OAuth 2.0 authorization, which can be enabled through a widget in the APIs Explorer."],["Using the YouTube Data API in an external application requires that authorization credentials must first be obtained."]]],[]]