Daftar di bawah ini mengidentifikasi bahasa yang menyediakan contoh kode YouTube API:
Contoh Kode YouTube API
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-05-08 UTC.
[null,null,["Terakhir diperbarui pada 2025-05-08 UTC."],[[["\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"]]