YoutubeClient Class

A client for Youtube services.

Definition

Namespace: DevCase.ThirdParty.Google.Youtube
Assembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class YoutubeClient : IDisposable
Inheritance
Object    YoutubeClient
Implements
IDisposable

Example

This is a code example that demonstrates how to search videos by a search-pattern through Youtube.
C#
No code example is currently available or this language may not be supported.

Constructors

YoutubeClient(String, MailAddress, YoutubeScopes) Initializes a new instance of the YoutubeClient class.
YoutubeClient(String, String, YoutubeScopes) Initializes a new instance of the YoutubeClient class.

Properties

IsAuthorized Gets a value that determines whether Youtube API authorization was done.
MailAddress Gets the mail address to authorize Youtube service. (e.g: "yourmail@gmail.com")
Scopes Gets the current Youtube OAuthv2 scopes.
Secrets Gets the client credentials.

Methods

Authorize Authorizes this instance to use Youtube API services.
AuthorizeAsync Authorizes this instance to use Youtube API services.
Dispose Releases all the resources used by this instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetMySubscriptions Gets a list containing the subscriptions of the current youtube account.
GetMyUploads Gets a list containing the videos uploaded in the current youtube account.
GetType Gets the Type of the current instance.
(Inherited from Object)
GetVideos Gets a list containing the videos uploaded in the specified channel.
SearchChannels Searchs channels through Youtube that matches the specified criteria.
SearchPlaylists Searchs playlists through Youtube that matches the specified criteria.
SearchVideos Searchs videos through Youtube that matches the specified criteria.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also