YoutubeClientGetMyUploads Method
Gets a list containing the videos uploaded in the current youtube account.
Namespace: DevCase.ThirdParty.Google.YoutubeAssembly: 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 Task<List<PlaylistItem>> GetMyUploads()
Public Function GetMyUploads As Task(Of List(Of PlaylistItem))
Dim instance As YoutubeClient
Dim returnValue As Task(Of List(Of PlaylistItem))
returnValue = instance.GetMyUploads()
public:
Task<List<PlaylistItem^>^>^ GetMyUploads()
member GetMyUploads : unit -> Task<List<PlaylistItem>>
No code example is currently available or this language may not be supported.
Return Value
TaskListPlaylistItem
The resulting
TaskTResult.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New YoutubeClient("C:\GoogleSecrets.json", "yourmail@gmail.com")
Dim credential As UserCredential = Await client.AuthorizeAsync()
Dim videos As List(Of PlaylistItem) = Await client.GetMyUploads()
Dim videoCount As Integer
For Each video As PlaylistItem In videos
Console.WriteLine(String.Format("Count: {0}; Id: {1}; Title: {2}, Url: {3}",
Interlocked.Increment(videoCount),
video.Id, video.Snippet.Title,
String.Format("http://www.youtube.com/watch?v={0}", video.Snippet.ResourceId.VideoId)))
Next video
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.