ChannelClient class

Queries related to YouTube channels.

Constructors

ChannelClient(YoutubeHttpClient _httpClient)
Initializes an instance of ChannelClient
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(dynamic id) Future<Channel>
Gets the metadata associated with the specified channel. id must be either a ChannelId or a string which is parsed to a ChannelId
getAboutPage(dynamic channelId) Future<ChannelAbout>
Gets the info found on a YouTube Channel About page. id must be either a ChannelId or a string which is parsed to a ChannelId
getAboutPageByUsername(dynamic username) Future<ChannelAbout>
Gets the info found on a YouTube Channel About page. username must be either a Username or a string which is parsed to a Username
getByUsername(dynamic username) Future<Channel>
Gets the metadata associated with the channel of the specified user. username must be either a Username or a string which is parsed to a Username
getByVideo(dynamic videoId) Future<Channel>
Gets the metadata associated with the channel that uploaded the specified video.
getUploads(dynamic channelId) Stream<Video>
Enumerates videos uploaded by the specified channel. If you want a full list of uploads see getUploadsFromPage
getUploadsFromPage(dynamic channelId, [VideoSorting videoSorting = VideoSorting.newest]) Future<ChannelUploadsList>
Enumerates videos uploaded by the specified channel. This fetches thru all the uploads pages of the channel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited