使用情形和代码段
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# Use Cases and Code Snippets\n\nThis page lets you explore common use cases for the YouTube Data API and YouTube Live Streaming API.\n\nWhen 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:\n\n- You can click on a use case name to populate the API Explorer widget with sample parameter and property values for that use case.\n- You can click the code icon () next to any sample name to open the fullscreen APIs Explorer and populate it with the sample values for that use case. The fullscreen APIs Explorer shows working code samples for Java, JavaScript, PHP, Python, and `curl`.\n\n|--------------|------------|\n| ### Resource | ### Method |"]]