

This method represents the first two steps in a three-step process to update the banner image for a channel: Uploads a channel banner image to YouTube. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.Ī channelBanner resource contains the URL that you would use to set a newly uploaded image as the banner image for a channel. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track. Returns a list of caption tracks that are associated with a specified video. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter. A caption track is associated with exactly one YouTube video.ĭownloads a caption track. Note: This method has been deprecated and is no longerĪ caption resource represents a YouTube caption track. For example, you can retrieve events associated with a particular channel or with the user's own channel. Returns a list of channel activity events that match the request criteria. Each activity resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded.įor more information about this resource, see its resource representation and list of properties. The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, uploading a video, and so forth.

The following requirements apply to YouTube Data API requests:Įvery request must either specify an API key (with the key parameter) or provide an OAuth 2.0 token.
TORIBASH YOUTUBE HOW TO
The guide also lists one or more supported methods ( LIST, POST, DELETE, etc.) for each resource type and explains how to use those methods in your application. For each resource type, the guide lists one or more data representations, and resources are represented as JSON objects. A resource represents a type of item that comprises part of the YouTube experience, such as a video, a playlist, or a subscription. This reference guide explains how to use the API to perform all of these operations. The API also supports methods to insert, update, or delete many of these resources. The lists below identify the different types of resources that you can retrieve using the API. The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application.
