This page lets you explore common use cases for the YouTube Live Streaming API and YouTube Data API.
When you select a resource and method, the table below updates to display a list of common use cases, including a description of each use case, for that method. In addition:
curl
.
Resource |
Method |
Use cases | |
---|---|
list (by ID) | This example retrieves information about a specified live broadcast. It uses the id request parameter to identify the broadcast. |
list (by broadcast status) | 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) | 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. |