YouTube API . videos

Instance Methods

list(id, part)

Browse the YouTube video collection.

Method Details

list(id, part)
Browse the YouTube video collection.

Args:
  id: string, YouTube IDs of the videos to be returned. (required)
  part: string, Parts of the video resource to be returned. (required)

Returns:
  An object of the form:

    { # JSON template for a VideoService.List() response.
    "kind": "youtube#videoListResponse", # The type of this API response.
    "etag": "A String", # The eTag of the response.
    "videos": { # Map of videos matching the request criteria, keyed by video id.
    },
  }