این صفحه به شما امکان می دهد موارد استفاده متداول را برای YouTube Live Streaming API و YouTube Data API کاوش کنید.

هنگامی که یک منبع و روش را انتخاب می‌کنید، جدول زیر به‌روزرسانی می‌شود تا فهرستی از موارد استفاده متداول، شامل شرح هر مورد استفاده، برای آن روش نمایش داده شود. علاوه بر این:

منبع

روش

Use cases
list (by ID)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by ID)' example for the liveBroadcasts.list method.
This example retrieves information about a specified live broadcast. It uses the id request parameter to identify the broadcast.
list (by broadcast status)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by broadcast status)' example for the liveBroadcasts.list method.
This example retrieves information about active live broadcasts. The broadcastStatus request parameter can be used to retrieve information about about all, active, completed, or upcoming live broadcasts. Note that the broadcastStatus parameter is also set to all to ensure that all matching broadcasts are included in the response.
list (my broadcasts)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (my broadcasts)' example for the liveBroadcasts.list method.
This example retrieves information about the authenticated user's live broadcasts. Note that the broadcastStatus parameter is also set to all to ensure that all matching broadcasts are included in the response.