跳至主要内容
YouTube
  • YouTube
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
首页 指南 示例 术语
YouTube
  • YouTube
  • 首页
  • 指南
  • 示例
  • 术语
  • YouTube API 代码示例
  • YouTube Data API
  • YouTube Analytics API
  • YouTube Live Streaming API
  • 首页
  • 产品
  • YouTube
  • 示例

YouTube API Code Samples 使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

The lists below identify the languages for which YouTube API code samples are available:

YouTube Data API (v3)

  • Apps Script
  • Go
  • Java
  • JavaScript
  • .NET
  • PHP
  • Python
  • Python on App Engine
  • Ruby

YouTube Analytics API

  • Apps Script
  • Java
  • JavaScript
  • PHP
  • Python
  • Ruby

YouTube Live Streaming API

  • Java
  • PHP
  • Python

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。

最后更新时间 (UTC):2025-08-28。

  • Blog Blog
    The latest news on the YouTube blog
  • GitHub GitHub
    Find API code samples and other YouTube open-source projects.
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Stack Overflow Stack Overflow
    Ask a question under the youtube-api tag
  • YouTube Researcher Program YouTube Researcher Program
    For researchers interested in using data from YouTube’s global API
  • Tools

    • Google APIs Explorer
    • YouTube Player Demo
    • Configure a Subscribe Button
  • Issue Tracker

    • File a bug
    • Request a feature
    • See open issues
  • Product Info

    • Terms of Service
    • Developer Policies
    • Required Minimum Functionality
    • Branding Guidelines
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • 所有产品
  • 条款
  • 隐私权政策
  • ICP证合字B2-20070004号
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어