Мы обновляем API данных, чтобы он соответствовал тому, как YouTube подсчитывает просмотры коротких видео.
Узнать больше
Клиентские библиотеки
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Клиентские библиотеки API Google, доступные для многих языков программирования, могут значительно упростить реализацию API YouTube.
В следующих таблицах в первом столбце показан этап разработки каждой библиотеки (обратите внимание, что некоторые из них находятся на ранних стадиях) и ссылки на документацию по библиотеке. Второй столбец содержит ссылки на доступные образцы для каждой библиотеки.
Также доступны следующие библиотеки ранней стадии:
,
Клиентские библиотеки API Google, доступные для многих языков программирования, могут значительно упростить реализацию API YouTube.
В следующих таблицах в первом столбце показан этап разработки каждой библиотеки (обратите внимание, что некоторые из них находятся на ранних стадиях) и ссылки на документацию по библиотеке. Второй столбец содержит ссылки на доступные образцы для каждой библиотеки.
Также доступны следующие библиотеки ранней стадии:
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-21 UTC.
[null,null,["Последнее обновление: 2025-08-21 UTC."],[[["\u003cp\u003eGoogle API client libraries can simplify YouTube API implementation and are available for multiple programming languages.\u003c/p\u003e\n"],["\u003cp\u003eThese client libraries have documentation and samples for languages like Java, JavaScript, .NET, Objective-C, PHP, and Python.\u003c/p\u003e\n"],["\u003cp\u003eEarly-stage libraries are also available for Dart, Go, Node.js, and Ruby, with their respective documentation and samples.\u003c/p\u003e\n"],["\u003cp\u003eEach client library has available documentation to review the specific stage of development that each one is currently at.\u003c/p\u003e\n"]]],["Google API client libraries simplify YouTube API implementation and are available for various languages. Documentation and samples are provided for Java, JavaScript, .NET, Objective-C, PHP, and Python. Early-stage libraries, including documentation and sample code, are also available for Dart (beta), Go, Node.js, and Ruby (all alpha). These libraries are in different developmental stages and offer resources to get started and explore their functionalities.\n"],null,["# Client Libraries\n\nGoogle API client libraries, which are available for many programming languages, can greatly simplify your YouTube API implementation.\n\nIn the following tables, the first column shows each library's stage of development (note that\nsome are in early stages), and links to documentation for the library. The second column links to\navailable samples for each library.\n\n| Documentation | Samples |\n| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](/api-client-library/java/apis) |\n| [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | [JavaScript samples](/api-client-library/javascript/samples/samples) |\n| [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | [.NET samples](/api-client-library/dotnet/apis) |\n| [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | [Objective-C samples](https://github.com/google/google-api-objectivec-client-for-rest/tree/master/Examples) |\n| [Google API Client Library for PHP ()](/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |\n| [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n\nThese early-stage libraries are also available:\n\n| Documentation | Samples |\n| [Google APIs Client Libraries for Dart (beta)](https://pub.dartlang.org/packages/googleapis) | [Dart samples](https://github.com/dart-lang/googleapis_examples) |\n| [Google API Client Library for Go ()](https://github.com/google/google-api-go-client) | [Go samples](https://github.com/google/google-api-go-client/tree/master/examples) |\n| [Google API Client Library for Node.js (alpha)](https://github.com/google/google-api-nodejs-client/) | [Node.js samples](https://github.com/google/google-api-nodejs-client/tree/master/samples) |\n| [Google API Client Library for Ruby (alpha)](/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|"]]