YouTube API . guideCategories

Instance Methods

list(part, onBehalfOfContentOwner=None, regionCode=None, hl=None, id=None)

Browse the YouTube guide category collection.

Method Details

list(part, onBehalfOfContentOwner=None, regionCode=None, hl=None, id=None)
Browse the YouTube guide category collection.

Args:
  part: string, Guide category parts to include in the returned response. Valid values are: id and snippet. (required)
  onBehalfOfContentOwner: string, The authenticated user acts on behalf of this content owner.
  regionCode: string, Return the channelCategories in the given region code.
  hl: string, Language for the returned channelCategories.
  id: string, Comma-separated YouTube IDs of the channelCategories to be returned.

Returns:
  An object of the form:

    { # A paginated list of guide categories returned as the response to a youtube.guideCategories.list call.
    "items": [ # List of categories matching the request criteria.
      { # A guideCategory resource identifies a category that YouTube assigns based on a channel's content or other indicators, such as the channel's popularity.
        "snippet": { # Basic details about a guide category. # Snippet of the category.
          "channelId": "UCBR8-60-B28hp2BmDPdntcQ", # Channel publishing the guide category.
          "title": "A String", # Title of the guide category.
        },
        "kind": "youtube#guideCategory", # The type of this API resource.
        "etag": "A String", # The eTag of the guide category.
        "id": "A String", # The unique ID of the guide category.
      },
    ],
    "kind": "youtube#guideCategoryListResponse", # The type of this API response.
    "etag": "A String", # The eTag of the response.
  }