public async Task TestMethod() { var youtubeService = new YoutubeService(); var searchResults = await youtubeService.GetVideosAsync("Corey Taylor"); Debug.WriteLine(searchResults.ElementAt(0).Title); }
private async void LoadVideos() { var service = new YoutubeService(); var channelId = await service.GetYoutubeId("paint"); var items = await service.GetVideosAsync(channelId); this.listView.ItemsSource = items; }