public Task<List<PlaylistItem>> GetVideos(
string channelId
)
Public Function GetVideos (
channelId As String
) As Task(Of List(Of PlaylistItem))
Dim instance As YoutubeClient
Dim channelId As String
Dim returnValue As Task(Of List(Of PlaylistItem))
returnValue = instance.GetVideos(channelId)
public:
Task<List<PlaylistItem^>^>^ GetVideos(
String^ channelId
)
member GetVideos :
channelId : string -> Task<List<PlaylistItem>>
No code example is currently available or this language may not be supported.
[Missing <param name="channelId"/> documentation for "M:DevCase.ThirdParty.Google.Youtube.YoutubeClient.GetVideos(System.String)"]
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.GetVideos("UC2xskkQVFEpLcGFnNSLQY0A") ' RihannaVEVO channel.
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.