1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.videoCategories.html">videoCategories</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#list">list(part, hl=None, id=None, regionCode=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Retrieves a list of resources, possibly filtered.</p> 83<h3>Method Details</h3> 84<div class="method"> 85 <code class="details" id="close">close()</code> 86 <pre>Close httplib2 connections.</pre> 87</div> 88 89<div class="method"> 90 <code class="details" id="list">list(part, hl=None, id=None, regionCode=None, x__xgafv=None)</code> 91 <pre>Retrieves a list of resources, possibly filtered. 92 93Args: 94 part: string, The *part* parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet. (required) (repeated) 95 hl: string, A parameter 96 id: string, Returns the video categories with the given IDs for Stubby or Apiary. (repeated) 97 regionCode: string, A parameter 98 x__xgafv: string, V1 error format. 99 Allowed values 100 1 - v1 error format 101 2 - v2 error format 102 103Returns: 104 An object of the form: 105 106 { 107 "etag": "A String", # Etag of this resource. 108 "eventId": "A String", # Serialized EventId of the request which produced this response. 109 "items": [ # A list of video categories that can be associated with YouTube videos. In this map, the video category ID is the map key, and its value is the corresponding videoCategory resource. 110 { # A *videoCategory* resource identifies a category that has been or could be associated with uploaded videos. 111 "etag": "A String", # Etag of this resource. 112 "id": "A String", # The ID that YouTube uses to uniquely identify the video category. 113 "kind": "youtube#videoCategory", # Identifies what kind of resource this is. Value: the fixed string "youtube#videoCategory". 114 "snippet": { # Basic details about a video category, such as its localized title. # The snippet object contains basic details about the video category, including its title. 115 "assignable": True or False, 116 "channelId": "UCBR8-60-B28hp2BmDPdntcQ", # The YouTube channel that created the video category. 117 "title": "A String", # The video category's title. 118 }, 119 }, 120 ], 121 "kind": "youtube#videoCategoryListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#videoCategoryListResponse". 122 "nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. 123 "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information. 124 "resultsPerPage": 42, # The number of results included in the API response. 125 "totalResults": 42, # The total number of results in the result set. 126 }, 127 "prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. 128 "tokenPagination": { # Stub token pagination template to suppress results. 129 }, 130 "visitorId": "A String", # The visitorId identifies the visitor. 131}</pre> 132</div> 133 134</body></html>