以下列表列出了 YouTube API 代码示例支持的语言:
YouTube API 代码示例
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-05-08。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-05-08。"],[[["\u003cp\u003eCode samples for the YouTube Data API (v3) are available in Apps Script, Go, Java, JavaScript, .NET, PHP, Python, Python on App Engine, and Ruby.\u003c/p\u003e\n"],["\u003cp\u003eThe YouTube Analytics API has code samples available for Apps Script, Java, JavaScript, PHP, Python, and Ruby.\u003c/p\u003e\n"],["\u003cp\u003eYouTube Live Streaming API code samples are provided for Java, PHP, and Python.\u003c/p\u003e\n"]]],["The content lists the programming languages for which YouTube API code samples are available. For the YouTube Data API (v3), samples exist for Apps Script, Go, Java, JavaScript, .NET, PHP, Python, Python on App Engine, and Ruby. The YouTube Analytics API has code examples in Apps Script, Java, JavaScript, PHP, Python, and Ruby. Finally, the YouTube Live Streaming API provides Java, PHP, and Python code samples.\n"],null,["# YouTube API Code Samples\n\nThe lists below identify the languages for which YouTube API code samples are available:\n\nYouTube Data API (v3)\n---------------------\n\n\u003cbr /\u003e\n\n- [Apps Script](/youtube/v3/code_samples/apps-script)\n- [Go](/youtube/v3/code_samples/go)\n- [Java](/youtube/v3/code_samples/java)\n- [JavaScript](/youtube/v3/code_samples/javascript)\n- [.NET](/youtube/v3/code_samples/dotnet)\n- [PHP](/youtube/v3/code_samples/php)\n- [Python](/youtube/v3/code_samples/python)\n- [Python on App Engine](/youtube/v3/code_samples/python_appengine)\n- [Ruby](/youtube/v3/code_samples/ruby)\n\n\u003cbr /\u003e\n\nYouTube Analytics API\n---------------------\n\n\u003cbr /\u003e\n\n- [Apps Script](/youtube/analytics/v1/code_samples/apps-script)\n- [Java](/youtube/reporting/v1/code_samples/java)\n- [JavaScript](/youtube/analytics/v1/code_samples/javascript)\n- [PHP](/youtube/reporting/v1/code_samples/php)\n- [Python](/youtube/reporting/v1/code_samples/python)\n- [Ruby](/youtube/analytics/v1/code_samples/ruby)\n\n\u003cbr /\u003e\n\nYouTube Live Streaming API\n--------------------------\n\n\u003cbr /\u003e\n\n- [Java](/youtube/v3/live/code_samples/java)\n- [PHP](/youtube/v3/live/code_samples/php)\n- [Python](/youtube/v3/live/code_samples/python)\n\n\u003cbr /\u003e"]]