blob: 113c6d240016af81ddaafcb733f4e0b840114f5b [file] [log] [blame]
Joe Gregorio075572b2012-07-09 16:53:09 -04001<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_v3alpha.html">YouTube API</a> . <a href="youtube_v3alpha.channels.html">channels</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#list">list(part, mine=None, id=None)</a></code></p>
79<p class="firstline">Browse the YouTube channel collection. Either the 'id' or 'mine' parameter must be set.</p>
80<h3>Method Details</h3>
81<div class="method">
82 <code class="details" id="list">list(part, mine=None, id=None)</code>
83 <pre>Browse the YouTube channel collection. Either the 'id' or 'mine' parameter must be set.
84
85Args:
86 part: string, Parts of the channel resource to be returned. (required)
87 mine: string, Flag indicating only return the channel ids of the authenticated user.
88 id: string, YouTube IDs of the channels to be returned.
89
90Returns:
91 An object of the form:
92
93 { # JSON template for a ChannelService.List() response.
94 "channels": [ # List of channels matching the request criteria.
95 { # JSON template for a YouTube Channel.
96 "kind": "youtube#channel", # The type of this API resource.
97 "statistics": { # JSON template for the statistics part of a channel. # Statistics about the channel: number of subscribers, views, and comments.
98 "commentCount": "A String", # Number of comments for this channel.
99 "subscriberCount": "A String", # Number of subscribers to this channel.
100 "videoCount": "A String", # Number of videos in the channel.
101 "viewCount": "A String", # Number of times the channel has been viewed.
102 },
103 "contentDetails": { # JSON template for the content details part of a channel. # Information about the channel content: upload playlist id, privacy status.
104 "privacyStatus": "A String", # Privacy status of the channel.
105 "uploads": "A String", # The unique id of the channel.
106 },
107 "snippet": { # JSON template for the snippet part of a channel. # Basic details about the channel: title, description, and thumbnails.
108 "title": "A String", # Title of the channel.
109 "description": "A String", # Description of the channel.
110 "thumbnails": { # Channel thumbnails.
111 },
112 },
113 "etag": "A String", # The eTag of the channel.
114 "id": "A String", # The unique id of the channel.
115 },
116 ],
117 "kind": "youtube#channelListResponse", # The type of this API response.
118 "etag": "A String", # The eTag of the response.
119 }</pre>
120</div>
121
122</body></html>