ChannelClient class

Queries related to YouTube channels.

Constructors

ChannelClient(YoutubeHttpClient _httpClient)
Initializes an instance of ChannelClient

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
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]) Stream<ChannelVideo>
Enumerates videos uploaded by the specified channel. This fetches thru all the uploads pages of the channel so it is recommended to use .take (or any other method) to limit the search result. Every page has 30 results. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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