YouTube API . playlists

Instance Methods

list(id, part)

Browse the YouTube playlist collection.

Method Details

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

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

Returns:
  An object of the form:

    { # JSON template for a PlaylistService.List() response.
    "kind": "youtube#playlistListResponse", # The type of this API response.
    "etag": "A String", # The eTag of the response.
    "playlists": [ # List of playlists matching the request criteria.
      { # JSON template for a YouTube Playlist.
        "snippet": { # JSON template for the snippet part of a playlist. # Basic details about the playlist: title, description, thumbnails.
          "title": "A String", # Title of the playlist.
          "tags": [ # Textual tags associated with the playlist.
            "A String",
          ],
          "description": "A String", # Description of the playlist.
          "timeCreated": "A String", # The time the playlist was created.
          "author": "A String", # Author of the playlist.
        },
        "kind": "youtube#playlist", # The type of this API resource.
        "etag": "A String", # The eTag of the playlist.
        "id": "A String", # The unique id of the playlist.
      },
    ],
  }