示例#1
0
        public async void RetrieveVideosTest()
        {
            Total <List <Video> > videos = await twixel.RetrieveVideos("golf1052", hls : null);

            Assert.Equal(27, videos.wrapped[0].length);
            Assert.Equal("League of Legends", videos.wrapped[0].game);
        }
示例#2
0
        public async void RetrieveVideosTest()
        {
            Total <List <Video> > videos = await twixel.RetrieveVideos("22747608", sort : TwitchConstants.ChannelSort.Time);

            Assert.Equal(27, videos.wrapped[0].length);
            Assert.Equal("League of Legends", videos.wrapped[0].game);
        }
示例#3
0
        public async void RetrieveVideosTest()
        {
            List <Video> videos = await twixel.RetrieveVideos("golf1052", false);

            Assert.Equal(20, videos[0].length);
            Assert.Equal("League of Legends", videos[0].game);
        }