ما در حال بهروزرسانی Data API هستیم تا با نحوه شمارش بازدیدهای YouTube برای Shorts مطابقت داشته باشد.
بیشتر بدانید
راهنمای پیاده سازی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این سری از راهنماها نحوه استفاده از YouTube Data API (v3) را برای انجام انواع مختلف عملکردها توضیح می دهد. این شامل توضیحات، اشارهگرها به نمونههای کد و پیوندهایی است که APIs Explorer را با پرس و جوهای نمونه پر میکند.
در خواندن این راهنما، لطفاً به یاد داشته باشید که:
در صورت امکان، نمونه پرس و جوهای API v3 را به APIs Explorer پیوند داده و با مقادیر نشان داده شده در جستارها پر کنید. این مثال ها به شما کمک می کند تا به راحتی سوالات آزمایشی را ارسال کنید و نمونه پاسخ ها را ببینید.
برخی از درخواستهای نمونه نیاز به مجوز دارند. یک ویجت کوچک در بالای فرم APIs Explorer وجود دارد که مجوز OAuth 2.0 را فعال می کند.
برای استفاده از YouTube Data API در برنامه خود، ابتدا باید اعتبارنامه مجوز را دریافت کنید .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2023-02-22 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2023-02-22 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis guide series demonstrates how to utilize the YouTube Data API (v3) for various functions, providing descriptions, code samples, and pre-filled API Explorer queries.\u003c/p\u003e\n"],["\u003cp\u003eSample v3 API queries in this guide link to the APIs Explorer, allowing users to test queries and view responses quickly.\u003c/p\u003e\n"],["\u003cp\u003eSome sample requests necessitate OAuth 2.0 authorization, which can be enabled through a widget in the APIs Explorer.\u003c/p\u003e\n"],["\u003cp\u003eUsing the YouTube Data API in an external application requires that authorization credentials must first be obtained.\u003c/p\u003e\n"]]],["The content explains the use of the YouTube Data API (v3) for various functions, offering descriptions, code samples, and pre-filled API Explorer links for testing queries. Authorization is required for some requests, enabled via a widget in the API Explorer. To utilize the API in applications, users must obtain authorization credentials, as detailed in the linked documentation. The guide uses the API Explorer as a key element for users to understand and test the information.\n"],null,["# Implementation Guide\n\nThis series of guides explains how to use the YouTube Data API (v3) to perform many different types of functions. It includes descriptions, pointers to code samples, and links that populate the APIs Explorer with sample queries.\n\nIn reading this guide, please remember that:\n\n- Whenever possible, sample v3 API queries link to and populate the APIs Explorer with the values shown in the queries. These examples help you easily submit test queries and see sample responses.\n\n- Some of the sample requests do require authorization. There is a small widget near the top of the APIs Explorer form that enables OAuth 2.0 authorization.\n\n- To use the YouTube Data API in your application, you must first [obtain authorization credentials](/youtube/registering_an_application)."]]