コード例 #1
0
        public async Task TestMethod()
        {
            var youtubeService = new YoutubeService();
            var searchResults  = await youtubeService.GetVideosAsync("Corey Taylor");

            Debug.WriteLine(searchResults.ElementAt(0).Title);
        }
コード例 #2
0
        private async void LoadVideos()
        {
            var service = new YoutubeService();

            var channelId = await service.GetYoutubeId("paint");

            var items = await service.GetVideosAsync(channelId);

            this.listView.ItemsSource = items;
        }